# spacepy.plot.spectrogram.simpleSpectrogram

spacepy.plot.spectrogram.simpleSpectrogram(*args, **kwargs)

  Plot a spectrogram given Z or X,Y,Z. This is a wrapper around pcolormesh() that can handle Y being a 2d array of time dependent bins. Like in the Van Allen Probes HOPE and MagEIS data files.

  Parameters
    *args 1 or 3 arraylike

      Call Signatures:

      simpleSpectrogram(Z, **kwargs) simpleSpectrogram(X, Y, Z, **kwargs)

  Returns
    ax matplotlib.axes._subplots.AxesSubplot

      Matplotlib axes object that the plot is on

  Other Parameters
    zlog bool

      Plot the color with a log colorbar (default: True)

    ylog bool

      Plot the Y axis with a log scale (default: True)

    alpha scalar (0-1)

      The alpha blending value (default: None)

    cmap string

      The name of the colormap to use (default: system default)

    vmin float

      Minimum color value (default: Z.min(), if log non-zero min)

    vmax float

      Maximum color value (default: Z.max())

    ax matplotlib.axes

      Axes to plot the spectrogram on (default: None - new axes)

    cb bool

      Plot a colorbar (default: True)

    cbtitle string

      Label to go on the colorbar (default: None)