tasi.plotting.TrajectoryPlotter.plot#

TrajectoryPlotter.plot(dataset, color=None, ax=None, trajectory_kwargs=None, **kwargs)[source]#

Plot trajectories using matplotlib

Parameters:
  • dataset (TrajectoryDataset) – The dataset of trajectories to visualize.

  • color (str, optional) – The color of the trajectories. Defaults to None.

  • ax (Axes, optional) – The matplotlib axes. Defaults to None.

  • trajectory_kwargs (Dict, optional) – A mapping of traffic participant id to trajectory-specific plotting attributes. Defaults to None.