pyorc.Frames.plot#

Frames.plot(ax=None, mode='local', **kwargs)#

Create QuadMesh plot from a RGB or grayscale frame on a new or existing (if ax is not None) axes.

Wraps matplotlib:matplotlib.collections.QuadMesh().

Parameters:
  • ref (plot reference) – This parameter should not be specified, ignore.

  • ax (plt.axes, optional) – If None (default), use the current axes. Not applicable when using facets.

  • mode (str, optional) – perspective mode to use for plotting. Can be “local” (default), “geographical”, or “camera”. For “geographical” a frames set from Frames.project should be used that contains “lon” and “lat” coordinates. For “camera”, a non-projected frames set should be used.

  • **kwargs (dict) – additional keyword arguments to wrapped Matplotlib function.

Returns:

p

Return type:

matplotlib.collections.QuadMesh