5.5. Plot Shear Force

planesections.postprocess.plot.plotShear(beam: Beam, scale: float = 1, **kwargs)[source]

Plots the internal shear force within a beam. Two values are given for each point, one at the left side, one at the right side. The analysis must be run on the beam prior to plotting. Note that internal force is only known exactly at nodes, and linear interpolation is used for all other values.

For 3D beams, returns the Vy, the vertical component of force.

Parameters:
  • beam (Beam) – The beam to plot internal forces with. The analysis must be run.

  • scale (float, optional) – The scale to apply to y values of the plot. The default is 1.

  • Parameters (Kwarg)

  • ----------

  • plotInternalForce. (These are possible Kwarg parameters that will be passed to)

  • 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 N.

  • 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.

  • labelPOI (bool, optional) – Turns on or off the plot point of interst labels.

  • POIOptions (dict, optional) –

    The options to use for the POI labels. There are several flags that have values true or false which can be used to turn on or off certain points of interst. Notably:

    showLabels: this flag turns on or off

    showDiscontinutiy: this flag turns on labeling points of discontinuity

    showMax: this turns on or off

    The default is None, which sets all flags to true

  • 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.