plot_nodal_displacement

PostProcessing.plot_nodal_displacement(component='NORM', show_node_numbering=False, **kwargs)

Plot nodal displacement

Parameters
componentstr, optional

Structural displacement component to retrieve. Must be 'X', 'Y', 'Z', or 'NORM'. Defaults to 'NORM'.

show_node_numberingbool, optional

Plot the node numbers of surface nodes.

**kwargsdict, optional

Keyword arguments passed to general_plotter.

Returns
list

Camera position from plotter. Can be reused as an input parameter to use the same camera position for future plots.

Examples

Plot the normalized nodal displacement for the second result.

>>> mapdl.post1()
>>> mapdl.set(1, 2)
>>> mapdl.post_processing.plot_nodal_displacement('NORM',
...                                               smooth_shading=True)

Plot the x displacement without smooth shading with individual node numbering.

>>> mapdl.post_processing.plot_nodal_displacement('X',
...                                               show_node_numbering=True)