hmi_mag_color_table#

sunpy.visualization.colormaps.color_tables.hmi_mag_color_table()[source]#

Returns an alternate HMI Magnetogram color table; from Stanford University/JSOC.

This is used by default for the HMISynopticMap. But by default, for HMIMap a grayscale colormap is used.

Examples

import matplotlib.pyplot as plt
import astropy.units as u

import sunpy.map
from sunpy.data.sample import HMI_LOS_IMAGE

smap = sunpy.map.Map(HMI_LOS_IMAGE)

fig = plt.figure()
ax = fig.add_subplot(111, projection=smap)

smap.plot(axes=ax, cmap="hmimag", norm=None, vmin=-1500.0, vmax=1500.0)

plt.show()

(Source code, png, hires.png, pdf)

../../_images/sunpy-visualization-colormaps-color_tables-hmi_mag_color_table-1.png

References