pyorc.Transect.plot.scatter#
- Transect.plot.scatter(x, y, c=None, ax=None, **kwargs)#
Create scatter plot of velocimetry or transect results on new or existing axes.
Wraps
matplotlib:matplotlib.pyplot.scatter()
.- Parameters:
mode (str, optional) – perspective mode to use for plotting. Can be “local” (default), “geographical”, or “camera”. For “geographical” a velocimetry result that contains “lon” and “lat” coordinates must be provided (i.e. produced with known CRS for control points).
x (str, optional) – Coordinate for x axis. If
None
, usedarray.dims[1]
.y (str, optional) – Coordinate for y axis. If
None
, usedarray.dims[0]
.ax (plt.axes, optional) – If None (default), use the current axes. Not applicable when using facets.
**kwargs (additional keyword arguments to wrapped Matplotlib function.) –
- Returns:
artist – The same type of primitive artist that the wrapped Matplotlib function returns.
- Return type:
matplotlib mappable