plot_nodal_principal_stress

PostProcessing.plot_nodal_principal_stress(component, show_node_numbering=False, **kwargs)

Plot nodal principal stress.

Parameters
componentstr

Nodal component stress component to plot. Must be '1', '2', or '3'

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 nodal principal stress “1” for the second result set

>>> mapdl.post1()
>>> mapdl.set(1, 2)
>>> mapdl.post_processing.plot_nodal_principal_stress('1')