plot_glyph (method)

plot_glyph(self, label=None, index=None, indices=None, clim=None, factor=None, field_name=None, ifreq=0, save_path=None, is_point_arrow=False, group_names=None)[source]

Plot the vector field as a glyph (or quiver) over the mesh.

Parameters
  • self (MeshSolution) – a MeshSolution object

  • label (str) – a label

  • index (int) – an index

  • indices (list) – list of the points to extract (optional)

  • clim (list) – a list of 2 elements for the limits of the colorbar

  • factor (float) – factor to multiply vector field

  • field_name (str) – title of the field to display on plot

  • ifreq (int) – index of the frequency to use for plot (if exists)

  • save_path (str) – path to save the plot into an image

  • is_point_arrow (bool) – to plot a nodal field (point-wise solution required)

  • group_names ([str]) – plot is restricted to the group(s) corresponding to this list of group names.