plot_element_values¶
- PostProcessing.plot_element_values(item, comp, option='AVG', show_elem_numbering=False, **kwargs)¶
Plot element values.
Displays the solution results as discontinuous element contours.
Equivalent MAPDL command:
PLESOL
- Parameters
- 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.
- option
str
,optional
Option for storing element table data. One of the following:
"MIN"
: Store minimum element nodal value of the specified item component."MAX"
: Store maximum element nodal value of the specified item component."AVG"
: Store averaged element centroid value of the specified item component (default).
- show_element_numberingbool,
optional
Plot the element numbers of the elements.
- item
- 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
.
Examples
Plot the contact status for the selected elements.
>>> mapdl.post_processing.plot_element_results( ... "CONT", "STAT", scalar_bar_args={"title": "Contact status"} ... )
- Return type
CameraPosition