plot_element_responses

opstool.post.plot_element_responses(odb_tag, ele_type, resp_type, resp_dof=None, ele_tags=None, ax=None)[source]

Plot element responses over time.

Added in opstool v1.0.25.

Important

You can use opstool.post.get_element_responses_info() to get valid response types and DOFs for each element type.

Parameters

odb_tagint | str

ODB tag to read data from.

ele_typeLiteral[“Frame”, “FiberSection”, “FiberSec”, “Truss”, “Link”, “Shell”, “Plane”, “Solid”, “Contact”]

Element type to read data from.

resp_typestr

Response type to read data from. This should be one of the valid response types for the specified element type.

resp_dofstr | None, optional

Response degree of freedom to read data from. This should be one of the valid degrees of freedom for the specified response type. If None, no selection on DOF is applied.

ele_tagslist[int] | tuple[int, …] | int | None, optional

Element tags to read data from, by default None

axplt.Axes | None, optional

Matplotlib Axes object to plot on, by default None

Returns

plt.Axes

_description_

rtype:

Axes

Return type:

Axes