plot_mag can handle map structures