    

 ## On this page

  

 

 # create\_plot

 Last update: 16.07.2026 

<a id="compolyx.SamplingPoint.create_plot"></a>

## SamplingPoint.create\_plot(query={'layup': \['mp'\], 'polar\_properties': \['E1', 'G12'\]}, offset\_is\_middle=True, consider\_coupling\_effect=True)

Generates 2D plots with the results of interest.

### Parameters

- query: Query parameter.
- offset\_is\_middle: Whether to offset the reference surface to the mid-plane of the laminate. This has an influence on the laminate stiffness calculations.
- consider\_coupling\_effect: Whether to consider the coupling effect (B-Matrix). It is only of relevance for the laminate engineering constants.

### Options

- layup: \[‘mp’, ‘pp’, ‘ap’\] Modeling plies, production plies, and analysis plies.
- polar\_properties: \[‘E1’,’E2’,’G12’\] Polar plot of laminate stiffnesses.
- strains: \[‘e1’, ‘e2’, ‘e3’, ‘e12’, ‘e13’, ‘e23’, ‘eI’, ‘eII’, ‘eIII’\] Strain definition name and component.
- stresses: \[‘s1’, ‘s2’, ‘s3’, ‘s12’, ‘s13’, ‘s23’, ‘sI’, ‘sII’, ‘sIII’\] Stress definition name and component.
- failures: \[‘FailureCriteria.1\_irf’, ‘FailureCriteria.1\_rf’, ‘FailureCriteria.1\_mos’, ‘FailureCriteria.1\_fm’\] Name of FC and value.
- text\_labels: \[‘material’, ‘angle’, ‘thickness’\]

### Usage

```pycon
>>> se.create_plot(query={layup:['mp'], failure:['FailureCriteria.1_irf']}
>>> se.graph_plot.x_values
>>> se.graph_plot.layer_thicknesses

```