pingwyn.plot

pingwyn.plot(ax, obj, *args, **kwargs)

Wrapper function for plotting PinGwyn objects.

Parameters:
  • ax (matplotlib.axes.Axes) – The axis to draw the object onto

  • obj (pingwyn.Curve or pingwyn.Grid or pingwyn.Image or pingwyn.Profile) – Pingwyn object to plot.

  • *args – Additional parameters to pass to the plotting function. See the documentation of the individual plotting functions for more information.

  • **kwargs – Additional parameters to pass to the plotting function. See the documentation of the individual plotting functions for more information.

Raises:

ValueError – This error is thrown if the object type is not a plottable PinGwyn object.