plot_nodal_total_component_strain#
- PostProcessing.plot_nodal_total_component_strain(component, show_node_numbering=False, **kwargs)#
Plot nodal total component starin.
Includes elastic, plastic, and creep strain.
- Parameters:
- component
str
,optional
Component to retrieve. Must be
'X'
,'Y'
,'Z'
,'XY'
,'YZ'
, or'XZ'
.- show_node_numberingbool,
optional
Plot the node numbers of surface nodes.
- **kwargs
dict
,optional
Keyword arguments passed to
MapdlPlotter
.
- component
- 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
isTrue
.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 isTrue
.
Notes
If
vkt=True
(default), this function usesMapdlPlotter
You can pass key arguments toMapdlPlotter
usingkwargs
argument. For example,show_axes
,background
, etc.Examples
Plot total component strain in the X direction for the first result.
>>> mapdl.post1() >>> mapdl.set(1, 1) >>> mapdl.post_processing.plot_nodal_total_component_strain('X')