plot_nodal_values#
- PostProcessing.plot_nodal_values(item, comp, show_node_numbering=False, **kwargs)#
Plot nodal values
Displays solution results as continuous element contours.
Equivalent MAPDL command:
PLNSOL
- パラメーター:
- item
str Label identifying the item. See the table below in the notes section.
- comp
str,optional Component of the item if applicable. See the table below in the notes section.
- show_node_numberingbool,
optional Plot the node numbers of surface nodes.
- **kwargs
dict,optional Keyword arguments passed to
MapdlPlotter
- item
- 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.
Notes
If
graphics_backend=GraphicsBackend.PYVISTA(default), this function usesMapdlPlotterYou can pass key arguments toMapdlPlotterusingkwargsargument. For example,show_axes,background, etc.Examples
Plot the contact status for the selected elements.
>>> mapdl.post_processing.plot_nodal_values( ... "CONT", "STAT", scalar_bar_args={"title": "Contact status"} ... )