pyleecan.Methods.Machine.Winding.plot_linear module

plot_linear(self, fig=None, ax=None, is_max_sym=True, is_show_fig=True, save_path=None, win_title=None, is_legend=True)[source]

Plots the winding linear pattern. Method based on plot_overhang method of swat-em module

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

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

  • is_max_sym (bool) – To only plot the linear pattern on the maximum symetry of the machine

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

  • save_path (str) – full path including folder, name and extension of the file to save if save_path is not None

  • win_title (str) – Title for the window

  • is_legend (bool) – True to add the legend