plot_nodal_eqv_stress#
- PostProcessing.plot_nodal_eqv_stress(show_node_numbering=False, **kwargs)#
Plot nodal equivalent stress of the current result.
- Parameters:
- show_node_numberingbool,
optional Plot the node numbers of surface nodes.
- **kwargs
dict,optional Keyword arguments passed to
MapdlPlotter.
- show_node_numberingbool,
- 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 equivalent stress for the second result
>>> mapdl.post1() >>> mapdl.set(1, 2) >>> mapdl.post_processing.plot_nodal_eqv_stress()
Plot off_screen and save a screenshot
>>> mapdl.post_processing.plot_nodal_eqv_stress(off_screen=True, savefig='seqv_00.png')
Subselect a single result type and plot those stress results.
>>> mapdl.esel('S', 'TYPE', vmin=1) >>> mapdl.post_processing.plot_nodal_eqv_stress(smooth_shading=True)