pyleecan.Methods.Geometry.Arc.plot module

plot(self, fig=None, ax=None, linestyle='solid', linewidth=1, color='black', label=None, offset_label=0, fontsize=12)[source]

Plot the Arc

Parameters:
  • self (Arc) – An Arc 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

  • linestyle (str) – Line of the line (solid, dotted…)

  • linewidth (int) – Line Width

  • color (str) – Color of the line

  • label (str) – To add a label at the middle of the line

  • offset_label (complex) – Complex value to shift the label from the middle

  • fontsize (int) – Size of the font for the label (if any)

Returns:

  • fig (Matplotlib.figure.Figure) – Figure containing the plot

  • ax (Matplotlib.axes.Axes object) – Axis containing the plot