This page was generated from
docs\source\examples/plot_domain_stresses.ipynb.
Plot Domain Stresses with Matplotlib
#
[1]:
from axisvm.com.client import start_AxisVM
from axisvm import examples
import matplotlib.pyplot as plt
axvm = start_AxisVM(visible=False, daemon=True)
axvm.model = examples.download_plate_ss()
axm = axvm.model
axm.Calculation.LinearAnalysis()
fig, ax = plt.subplots(figsize=(20, 4))
mpl_kw = dict(
cmap="rainbow",
axis="on",
offset=0.0,
cbpad=0.5,
cbsize=0.3,
cbpos="right",
fig=fig,
ax=ax,
)
axm.Domains[1].plot_stresses(component="svm", mpl_kw=mpl_kw, case=1, z="t")
axvm.Quit()