traja.accessor.TrajaAccessor.plot_trajectory_components

TrajaAccessor.plot_trajectory_components(figsize=(12, 8))[source]

Plot comprehensive trajectory analysis with multiple subplots.

Shows: trajectory path, x/y components, speed, and displacement.

Parameters:

figsize (tuple) – Figure size. Default (12, 8).

Returns:

Figure with subplots

Return type:

matplotlib.figure.Figure

Example

>>> fig = df.traja.plot_trajectory_components()
>>> plt.show()