draw_principal_axis#
- sectionproperties.post.post.draw_principal_axis(ax: matplotlib.axes.Axes, phi: float, cx: float, cy: float) None [source]#
Draws the principal axis on a plot.
- Parameters:
ax (matplotlib.axes.Axes) – Axes object on which to plot
phi (float) – Principal axis angle in radians
cx (float) – x-location of the centroid
cy (float) – y-location of the centroid