plot_lsv_residual

plot_lsv_residual(res: xr.Dataset, ax: Axis, indices: Sequence[int] = range(0, 2), linlog: bool = False, linthresh: float = 1, cycler: Cycler | None = cycler('color', [<ColorCode.black: '#000000'>, <ColorCode.red: '#ff0000'>, <ColorCode.blue: '#0000ff'>, <ColorCode.green: '#00ff00'>, <ColorCode.magenta: '#ff00ff'>, <ColorCode.cyan: '#00ffff'>, <ColorCode.yellow: '#ffff00'>, <ColorCode.green4: '#008b00'>, <ColorCode.orange: '#ff8c00'>, <ColorCode.brown: '#964b00'>, <ColorCode.grey: '#808080'>, <ColorCode.violet: '#9400d3'>, <ColorCode.turquoise: '#40e0d0'>, <ColorCode.maroon: '#800000'>, <ColorCode.indigo: '#4b0082'>]), show_legend: bool = True, irf_location: float | None = None, use_svd_number: bool = False) None[source]

Plot left singular vectors (time) of the residual matrix.

Parameters:
  • res (xr.Dataset) – Result dataset

  • ax (Axis) – Axis to plot on.

  • indices (Sequence[int]) – Indices of the singular vector to plot. Defaults to range(4).

  • linlog (bool) – Whether to use ‘symlog’ scale or not. Defaults to False.

  • linthresh (float) – A single float which defines the range (-x, x), within which the plot is linear. This avoids having the plot go to infinity around zero. Defaults to 1.

  • cycler (Cycler | None) – Plot style cycler to use. Defaults to PlotStyle().cycler.

  • show_legend (bool) – Whether or not to show the legend. Defaults to True.

  • irf_location (float | None) – Location of the irf by which the time axis will get shifted. If it is None the time axis will not be shifted. Defaults to None.

  • use_svd_number (bool) – Whether to use singular value number (starts at 1) instead of singular value index (starts at 0) for labeling in plot. Defaults to False.