movingpandas.TrajectoryCollection.plot#

TrajectoryCollection.plot(*args, **kwargs)#

Generate a plot.

Parameters:
  • args – These parameters will be passed to the TrajectoryPlotter

  • kwargs – These parameters will be passed to the TrajectoryPlotter

Examples

Plot speed along trajectories (with legend and specified figure size):

>>> trajectory_collection.plot(column='speed', legend=True, figsize=(9,5))

Plot speed along trajectories (scaling the colormap to specific min/max values):

>>> trajectory_collection.plot(column='speed', vmin=0, vmax=20)