pyleecan.Methods.Machine.LamSquirrelCage.plot_schematics_scr module¶
- plot_schematics_scr(self, is_default=False, is_add_schematics=True, is_add_main_line=True, save_path=None, is_show_fig=True, fig=None, ax=None)[source]¶
Plot the schematics of the short circuit ring
- Parameters:
self (LamSquirrelCage) – A LamSquirrelCage object
is_default (bool) – True: plot default schematics, else use current lamination values
is_add_schematics (bool) – True to display the schematics information (Hscr, Lscr…)
is_add_main_line (bool) – True to display “main lines” (dotted lines and Z axis)
save_path (str) – full path including folder, name and extension of the file to save if save_path is not None
is_show_fig (bool) – To call show at the end of the method
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
- Returns:
fig (Matplotlib.figure.Figure) – Figure containing the plot
ax (Matplotlib.axes.Axes object) – Axis containing the plot