plot (method)

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

Plot the Lamination in a matplotlib fig

Parameters:
  • self (LamSquirrelCage) – A LamSquirrelCage 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 bare)
  • 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
Returns:

Return type:

None