ThreeDViewer.image.plot_quiver#
- plot_quiver(data, slice_axis=2, axial=False, skip=4, save=None, saturation=1, show=True, arrow_color=None)#
Plots vectors using complex color and adds a quiver overlay for clarity.
- Parameters:
- datanp.ndarray
Vector or orientation array with shape (3, nx, ny).
- slice_axisint (optional)
Index from which the slice was taken (so that out-of-plane component can be determined).
- axialbool (optional)
True for orientations, False for vector fields.
- skipint (optional)
Number of arrows to skip for visual clarity.
- savestr (optional)
Filename to which the figure will be saved.
- saturationfloat (optional)
Color saturation, None for magnitude-based
- showbool (optional)
True to show figure, false will maintain the figure for plotting later with plt.show().
- arrow_color4-tuple (optional)
Arrow colors in RGBA values from 0 to 1.