Plot Functions#

Cross-section geometry#

plot_sg_2d(sg[, ax, ec_mesh, fc_mesh, ...])

Plot the mesh of a 2D structure gene.

plot_model_2d(model[, ax, origin, legend_kwards])

Plot the constitutive-model overlays of a 2D beam section.

plot_sg_2d_plotly(sg[, mesh_style, ...])

Plot the mesh of a single 2D cross-section using plotly.

plot_model_2d_plotly(model[, sg, ...])

Plot the constitutive-model overlays of a 2D beam section using plotly.

plot_sg_3d_beam(csv_file, section_dir, ax[, ...])

Plot multiple beam cross-sections in 3D along the spanwise direction.

plot_sg_3d_beam_plotly(csv_file, section_dir)

Plot multiple beam cross-sections in 3D using plotly (HTML output).

Matrices#

plot_matrix(matrix[, fig, ax, row_labels, ...])

Plot a heatmap of an arbitrary 2D matrix.

plot_matrix_bar3d(matrix[, fig, ax, ...])

Plot a 2D matrix as a 3D bar chart using matplotlib bar3d.

plot_model_matrix(model[, kind, fig, ax, ...])

Plot the stiffness / compliance matrix of a structural model.