trackpy.plot_traj3d

trackpy.plot_traj3d(*args, **kwargs)

The 3D equivalent of plot_traj.

Parameters:
trajDataFrame

The DataFrame should include time and spatial coordinate columns.

mppfloat, optional

Microns per pixel. If omitted, the labels will have units of pixels.

labelboolean, optional

Set to True to write particle ID numbers next to trajectories.

superimposendarray, optional

Background image, default None

cmapcolormap, optional

This is only used in colorby=’frame’ mode. Default = mpl.cm.winter

axmatplotlib axes object, optional

Defaults to current axes

t_columnstring, optional

DataFrame column name for time coordinate. Default is ‘frame’.

pos_columnslist of strings, optional

Dataframe column names for spatial coords. Default is [‘x’, ‘y’, ‘z’].

plot_styledictionary

Keyword arguments passed through to the Axes.plot(…) command

Returns:
Axes object

See also

plot_traj

plot 2D trajectories