pyrfu.plot.plot_clines module#

pyrfu.plot.plot_clines.plot_clines(axis, inp, yscale='log', cscale='log', cmap='jet', **kwargs)[source]#

Plot lines with color associated to the level.

Parameters:
  • axis – Axes

  • inp (xarray.DataArray) – Time series as an energy spectrum to plot.

  • yscale (str, Optional) – Scale of the yaxis. Default is “log”

  • cscale (str, Optional) – Scale of the colormap. Default is “log”.

  • cmap (str, Optional) – Colormap. Default is “jet”

  • kwargs (dict) – Plot options.

  • pyrfu.plot.plot_line (See) –

Returns:

  • axis – Updated axis

  • cbl – Colorbar associated