plot (method)

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

Plot a Lamination with Buried Magnets in a matplotlib fig

Parameters:
  • self (LamHole) – A LamHole object
  • fig – if None, open a new fig and plot, else add to the current one (Default value = None)
  • 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
Returns:

Return type:

None