pingwyn.plot_curve

pingwyn.plot_curve(ax, curve, ax_image=None, **kwargs)

Plot a curve.

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

  • curve (pingwyn.Curve) – The curve object to draw

  • ax_image (matplotlib.axes.Axes, optional) – Reference to the plotted image in which the spatial location of the curve should be drawn. By default None.

  • **kwargs – Any additional keyword arguments will be passed onto ax.plot() or ax.set(), whichever is applicable. Note: providing xlabel, ylabel, title or color will override some behaviour of this function.

See also

matplotlib.pyplot.plot