plot_nodal_rotation#

PostProcessing.plot_nodal_rotation(component, show_node_numbering=False, **kwargs)[source]#

Plot nodal rotation.

Parameters:
componentstr

Structural rotation component to retrieve. Must be 'X', 'Y', or 'Z'.

show_node_numberingbool, optional

Plot the node numbers of surface nodes.

**kwargsdict, optional

Keyword arguments passed to general_plotter.

Returns:
pyvista.plotting.renderer.CameraPosition

Camera position from plotter. Can be reused as an input parameter to use the same camera position for future plots. Only returned when return_cpos is True.

pyvista.Plotter

PyVista Plotter. In this case, the plotter is shown yet, so you can still edit it using PyVista Plotter methods. Only when return_plotter kwarg is True.

Notes

If vkt=True (default), this function uses general_plotter You can pass key arguments to general_plotter using kwargs argument. For example, show_axes , background, etc.

Examples

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

>>> mapdl.post1()
>>> mapdl.set(1, 2)
>>> mapdl.post_processing.plot_nodal_rotation('X', show_node_numbering=True)