pyrfu.plot.pl_tx module#

pyrfu.plot.pl_tx.pl_tx(axis: Axes, inp_list: List[DataArray], comp: int = 0, colors: str = 'mms', **kwargs) Axes[source]#

Line plot of 4 spacecraft time series.

Parameters:
  • axis (matplotlib.axes._axes.Axes) – Axis

  • inp_list (list of xarray.DataArray) – Time series to plot

  • comp (int, Optional) – Index of the column to plot. Default is 0.

  • colors ({'cluster', 'mms'}, Optional) – Color cycle to use. Default uses MMS

  • kwargs (dict) – Hash table of plot options.

Returns:

axis – Axis with matplotlib.lines.Line2D.

Return type:

matplotlib.axes._axes.Axes

Raises:

NotImplementedError – if invalid color style of inp_list.ndim > 3: