get_result_plots#
- SamplingPoint.get_result_plots(strain_components=('e1', 'e2', 'e3', 'e12', 'e13', 'e23'), stress_components=('s1', 's2', 's3', 's12', 's13', 's23'), failure_components=(FailureMeasureEnum.INVERSE_RESERVE_FACTOR, FailureMeasureEnum.RESERVE_FACTOR, FailureMeasureEnum.MARGIN_OF_SAFETY), show_failure_modes=False, create_laminate_plot=True, core_scale_factor=1.0, spots=(Spot.BOTTOM, Spot.MIDDLE, Spot.TOP))#
Generate a figure with a grid of axes (plot) for each selected result entity.
- Parameters:
strain_components (
Sequence
[str
], default:('e1', 'e2', 'e3', 'e12', 'e13', 'e23')
) – Strain entities of interest. Supported values are"e1"
,"e2"
,"e3"
,"e12"
,"e13"
, and"e23"
. The plot is skipped if the list is empty.stress_components (
Sequence
[str
], default:('s1', 's2', 's3', 's12', 's13', 's23')
) – Stress entities of interest. Supported values are"s1"
,"s2"
,"s3"
,"s12"
,"s13"
, and"s23"
. The plot is skipped if the list is empty.failure_components (
Sequence
[FailureMeasureEnum
], default:(<FailureMeasureEnum.INVERSE_RESERVE_FACTOR: 'inverse_reserve_factor'>, <FailureMeasureEnum.RESERVE_FACTOR: 'safety_factor'>, <FailureMeasureEnum.MARGIN_OF_SAFETY: 'safety_margin'>)
) – Failure values of interest. Values supported are"irf"
,"rf"
, and"mos"
. The plot is skipped if the list is empty.show_failure_modes (
bool
, default:False
) – WHether to add the critical failure mode to the failure plot.create_laminate_plot (
bool
, default:True
) – Whether to plot the stacking sequence of the laminate, including text information such as material, thickness, and angle.core_scale_factor (
float
, default:1.0
) – Factor for scaling the thickness of core plies.spots (
Collection
[Spot
], default:(<Spot.BOTTOM: 1>, <Spot.MIDDLE: 2>, <Spot.TOP: 3>)
) – Spots (interfaces) to show results at.
Examples
>>> figure, axes = sampling_point.get_result_plots()
- Return type: