decode.plot module#

data(data: DataArray, /, *, squeeze: bool = True, **options: Any) Artist[source]#

Plot 1D or 2D data of DEMS or its coordinate.

Parameters:
  • data (DataArray) – DEMS DataArray or coordinate DataArray.

  • squeeze (bool) – Whether to squeeze the data before plotting.

  • options (Any)

Keyword Arguments:

options – Plotting options to be passed to Matplotlib.

Returns:

Matplotlib artist object of the plotted data.

Return type:

Artist

state(dems: DataArray, /, *, on: Literal['time', 'sky'] = 'time', **options: Any) Artist[source]#

Plot the state coordinate of DEMS.

Parameters:
  • dems (DataArray) – DEMS DataArray to be plotted.

  • on (Literal['time', 'sky']) – On which plane the state coordinate is plotted.

  • options (Any)

Keyword Arguments:

options – Plotting options to be passed to Matplotlib.

Returns:

Matplotlib artist object of the plotted data.

Return type:

Artist