Plotting Functions and Utilities¶
- Utilities.plotting.plot_C_arrows(ax, pos, C, R=None, c_index=0, scale=1.0, **kwargs)[source]¶
Plot growth constants as arrows.
- Parameters
ax (matplotlib.axes.Axes) – Axes on which the arrows will be drawn.
pos (torch.Tensor) – Positions of the growth constants arrows.
C (torch.Tensor) – Growth constants.
R (torch.Tensor, default=None) – Local frame of each positions. If none, will assume idendity.
c_index (int, default=0) – The dimension of the growth constants that will get drawn.
scale (float, default=1.) – Scale applied to the arrow lengths.
kwargs (dict) – Keyword arguments that gets passed to the underlying matplotlib plot functions.
- Utilities.plotting.plot_C_ellipses(ax, pos, C, R=None, c_index=0, scale=1.0, **kwargs)[source]¶
Plot growth constants as ellipses.
- Parameters
ax (matplotlib.axes.Axes) – Axes on which the ellipses will be drawn.
pos (torch.Tensor) – Positions of the growth constants ellipses.
C (torch.Tensor) – Growth constants.
R (torch.Tensor, default=None) – Local frame of each positions. If none, will assume idendity.
c_index (int, default=0) – The dimension of the growth constants that will get drawn.
scale (float, default=1.) – Scale applied to the ellipses.
kwargs (dict) – Keyword arguments that gets passed to the underlying matplotlib plot functions.
- Utilities.plotting.plot_grid(ax, gridx, gridy, **kwargs)[source]¶
Plot grid.
- Parameters
ax (matplotlib.axes.Axes) – Axes on which the grid will be drawn.
gridx – Abscisse component of the grid that will be drawn.
gridy – Ordinate component of the grid that will be drawn.
kwargs (dict) – Keyword arguments that gets passed to the plot() functions.