> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create_material_plot

#### LayupPlotDict.create\_material\_plot(name=None, id=None, active=True, scope\_entire\_model=True, data\_scope=\[], show\_on\_solids=False, show\_ply\_offsets=False, ply\_offset\_scale\_factor=1.0, add\_to\_active\_set=True, locked=False, component='E1', use\_all\_available\_fields=True, field\_variable\_names=\[], shear\_angle\_enabled=False, temperature\_enabled=False)

Create a Material Plot object.

* **Parameters:**
  * name: Name of the plot.
  * id: ID for the plot.
  * active: Whether the plot is active.
  * scope\_entire\_model: If `True`, then the scope of this plot is the entire model. If not, then set to false and use the data\_scope to specify a sub scope.
  * data\_scope: Object(s) defining the scope for which data is computed and returned. Applicable are: `Element Set`, `Oriented Selection Set`, `Modeling Ply`, `Sampling Point`.
  * show\_on\_solids: `True` or `False` (default). Whether to show the results on the shell or solid model (if present).
  * show\_ply\_offsets: `True` or `False` (default). Whether to display ply-wise visualizations with ply offsets.
  * ply\_offset\_scale\_factor: Scale factor for the offsets of the visualized plies if show\_ply\_offsets=`True`.
  * component: Specifies the component.
  * use\_all\_available\_fields: `True` (default) or `False`. Whether to enable all available field variables in the evaluation.
* **Returns:**
  The plot object.

**Example:**
: Create a material plot with Data Scope set to Element Set “All\_Elements” showing the Young Modulus E2:

```python theme={null}
>>> E2_plot = db.active_model.layup_plots.create_material_plot(name="E2_Plot", data_scope=[db.active_model.element_sets['All_Elements']], component = 'E2')
```
