Data.quiver_plot

Data.quiver_plot(xcol=None, ycol=None, ucol=None, vcol=None, **kargs)

Make a 2D Quiver plot from the data.

Parameters
  • xcol (index) – Xcolumn index or label

  • ycol (index) – Y column index or label

  • zcol (index) – Z column index or label

  • ucol (index) – U column index or label

  • vcol (index) – V column i ndex or label

  • wcol (index) – W column index or label

Keyword Arguments
  • xlabel (string) – X axes label. Deafult is None - guess from xvals or metadata

  • ylabel (string) – Y axes label, Default is None - guess from metadata

  • zlabel (string) – Z axis label, Default is None - guess from metadata

  • plotter (function) – Function to use to plot data. Defaults to plt.contour

  • headlength,headwidth,headaxislength (float) – Controls the size of the quiver heads

  • show_plot (bool) – Turn on interfactive plotting and show plot when drawn

  • save_filename (string or None) – If set to a string, save the plot with this filename

  • figure (integer or matplotlib.figure or boolean) – Controls which figure is used for the plot, or if a new figure is opened.

  • **kargs (dict) – Other arguments are passed on to the plotter.

Returns

A matplotlib figure instance.

Keyword arguments are all passed through to matplotlib.plt.quiver().