plot (method)

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

Plot the Lamination in a matplotlib fig

  • self (LamSlotWind) – A LamSlotWind 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 Winding)
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • is_edge_only (bool) – To plot transparent Patches
  • is_display (bool) – False to return the patches

patches – List of Patches

Return type: