5.9. Plot Vertical Displacement
- planesections.postprocess.plot.plotRotation(beam: Beam, scale=1000, yunit='mRad', **kwargs)[source]
Plots the rotation of a beam. Each node will contain the relevant dispancement information. Analysis must be run on the beam prior to plotting.
- Parameters:
beam (Beam) – The beam to plot internal forces with. The analysis must be run.
index (int) – The type of response to plot, can have value 0:ux, 1: uy 2: rotation.
scale (float, optional) – The scale to apply to y values of the plot. The default is 0.001.
xunit (str, optional) – The xunit for the plot labels. The default is m.
yunit (str, optional) – The yunit for the plot labels. The default is mm.
showAxis (bool, optional) – Turns on or off the axis.
showGrid (bool, optional) – Turns on or off the grid.
labelPlot (bool, optional) – Turns on or off the plot labels.
fig (bool, optional) – A existing figure to use in the plot.
ax (bool, optional) – A existing axis to use in the plot.
- Returns:
fig (matplotlib fig)
ax (matplotlib ax)
line (matplotlib line) – the plotted line.