plot_nodal_elastic_component_strain#
- PostProcessing.plot_nodal_elastic_component_strain(component, show_node_numbering=False, **kwargs)#
Plot nodal elastic component strain.
- Parameters:
- component
str Nodal elastic component to plot. 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.CameraPositionCamera position from plotter. Can be reused as an input parameter to use the same camera position for future plots. Only returned when
return_cposisTrue.pyvista.PlotterPyVista Plotter. In this case, the plotter is shown yet, so you can still edit it using PyVista Plotter methods. Only when
return_plotterkwarg isTrue.
Notes
If
graphics_backend=GraphicsBackend.PYVISTA(default), this function usesMapdlPlotterYou can pass key arguments toMapdlPlotterusingkwargsargument. For example,show_axes,background, etc.Examples
Plot the nodal elastic principal strain “1” for the second result set.
>>> mapdl.post1() >>> mapdl.set(1, 2) >>> mapdl.post_processing.plot_nodal_elastic_component_strain('1')