# 13.2.3. plot_mode_shape (ops_vis)¶

ops_vis.plot_mode_shape(modeNo, sfac=False, nep=17, unDefoFlag=1, fmt_undefo='g:', interpFlag=1, endDispFlag=1, fmt_interp='b-', fmt_nodes='rs', Eo=0, az_el=(-60.0, 30.0), fig_wi_he=(16.0, 10.0), fig_lbrt=(0.04, 0.04, 0.96, 0.96))[source]

Plot mode shape of the structure obtained from eigenvalue analysis.

Parameters: modeNo (int) – indicates which mode shape to plot sfac (float) – scale factor to increase/decrease displacements obtained from FE analysis. If not specified (False), sfac is automatically calculated based on the maximum overall displacement and this maximum displacement is plotted as 20 percent (hordcoded) of the maximum model dimension. interpFlag (int) – 1 - use interpolated deformation using shape function, 0 - do not use interpolation, just show displaced element nodes (default is 1) nep (int) – number of evaluation points for shape function interpolation (default: 17)

Usage:

plot_mode_shape(1) - plot the first mode shape with default parameters and automatically calcutated scale factor.

plot_mode_shape(2, interpFlag=0) - plot the 2nd mode shape by displacing the nodes connected with straight lines (shape function interpolation)

plot_mode_shape(3, sfac=1.5) - plot the 3rd mode shape with specified scale factor

plot_mode_shape(4, unDefoFlag=0, endDispFlag=0) - plot the 4th mode shape without showing undeformed (original) mesh and without showing markers at the element ends.

Examples:

Notes: