a diagram of a magnetic field