FormPlotter.draw_loads

FormPlotter.draw_loads(keys=None, scale=1.0, width=1.0, gap=0.05, tol=0.001)[source]

Draws the node loads in a FormDiagram as scaled arrows.

Parameters
  • keys (list) – The list of node keys where to draw forces. If nodes is None, all nodes in will be considered. Defaults to None.

  • scale (float) – The scale of the load arrows. Defaults to 1.0.

  • width (float) – The arrows uniform display width. Defaults to 1.0.

  • gap (float) – The offset between the node and the load. Defaults to 0.2.

  • tol (float) – The minimum force magnitude to draw. Defaults to 1e-3.