6.3. Model Visualisation

modeller.plot_model(pFlag=True, export_path=None)[source]

Plots a 2-D visualisation of the stick-and-mass model as two subplots.

Left panel — node elevation diagram with zigzag spring symbols (zero-length Pinching4 elements), individual storey height brackets, and a separate double-headed total-height dimension line. Right panel — force-deformation backbone curves for every storey, both axes starting from zero. Legend boxes are placed at the same vertical level below each panel.

Parameters:
  • pFlag (bool, optional, default=True) – If True, the plot is processed (saved/shown).

  • export_path (str, optional) – Full path including filename to save the plot. Creates directories if missing.

Return type:

None