piel.visual.plot.signals.time.separate

piel.visual.plot.signals.time.separate#

Attributes#

Functions#

plot_multi_data_time_signal_different(multi_signal[, ...])

Plots all rising edge signals on the same figure, but with a shared x-axis and multiple y-axes.

Module Contents#

logger#
plot_multi_data_time_signal_different(multi_signal: piel.types.MultiTimeSignalData, fig: Any = None, axs: Any = None, subplots_kwargs: dict = None, xlabel: str | piel.types.Unit | list[piel.types.Unit] = None, ylabel: str | piel.types.Unit | list[piel.types.Unit] | list = None, title: str | piel.types.Unit | list = None, time_range_s: Tuple[float, float] = None, labels: list[str] = None, **kwargs)[source]#

Plots all rising edge signals on the same figure, but with a shared x-axis and multiple y-axes.

Parameters:
  • multi_signal (MultiTimeSignalData) – List of rising edge signals.

  • fig (Any) – Figure object.

  • axs (Any) – Axes object.

  • subplots_kwargs (dict) – Keyword arguments to pass to create_axes_per_figure.

  • xlabel (str | Unit | list[Unit]) – Label for x-axis.

  • ylabel (str | Unit | list[Unit] | list) – Label for y-axis.

  • title (str | Unit | list) – Title for the plot.

  • time_range_s (Tuple[float, float]) – Tuple indicating the (start, end) time for the x-axis range.

Returns:

Figure and Axes objects.

Return type:

fig (Any), axs (Any)