Visualizing the magnetic field