physicool.plotting
Module Contents
Classes
Functions
|
Plots the cell trajectories in 2D as a line and a point at the last coordinate. |
|
Plots the cell trajectories in 3D as a line and a point at the last coordinate. |
- class physicool.plotting.SweeperPlot[source]
- fig: matplotlib.pyplot.Figure
- ax: matplotlib.pyplot.Axes
- set_up_plotter(n_levels, param_labels)[source]
Defines the initial bounds and labels for the plotter.
- Parameters:
n_levels (int) –
param_labels (List[str]) –
- add_bounds_to_ax(x, y, z)[source]
Draws the bounds for a level’s parameter space.
- Parameters:
x (numpy.ndarray) –
y (numpy.ndarray) –
z (int) –
- Return type:
None
- physicool.plotting.plot_trajectories_2d(trajectories, ax=None)[source]
Plots the cell trajectories in 2D as a line and a point at the last coordinate.
- Parameters:
trajectories (pandas.DataFrame) – A DataFrame with the cells’ x and y coordinates.
ax (Optional[matplotlib.pyplot.Axes]) – The axes object where the trajectories will be plotted (optional).
- physicool.plotting.plot_trajectories_3d(trajectories, ax=None)[source]
Plots the cell trajectories in 3D as a line and a point at the last coordinate.
- Parameters:
trajectories (pandas.DataFrame) – A DataFrame with the cells’ x, y and z coordinates.
ax (Optional[matplotlib.pyplot.Axes]) – The axes object where the trajectories will be plotted (optional).