plot (method)

plot(self, fig=None, ax=None, is_lam_only=False, sym=1, alpha=0, delta=0, is_edge_only=False, is_show_fig=True)[source]

Plot a Lamination with Buried Magnets in a matplotlib fig

  • self (LamHole) – A LamHole object

  • fig (Matplotlib.figure.Figure) – existing figure to use if None create a new one

  • ax (Matplotlib.axes.Axes object) – Axis on which to plot the data

  • is_lam_only (bool) – True to plot only the lamination (remove the magnets)

  • sym (int) – Symmetry factor (1= plot full machine, 2= half of the machine…)

  • alpha (float) – angle for rotation (Default value = 0) [rad]

  • delta (complex) – complex for translation (Default value = 0)

  • is_edge_only (bool) – To plot transparent Patches

  • is_show_fig (bool) – To call show at the end of the method


Return type