Skip to content

Commit c833ae7

Browse files
authored
update plotting getting started in the documentation (#118)
1 parent 4d4c63e commit c833ae7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/source/user_guide/plotting.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ using these values. This example extracts the nodal strain in the X direction:
5454
5555
First, extract the X component strain
5656
57-
>>> strain = model.results.strain()
57+
>>> strain = model.results.elastic_strain()
5858
>>> fields = strain.outputs.fields_container()
5959
>>> field = fields.select_component(0)[0]
6060
>>> print(field)
61-
DPF elastic_strain_1.s Field
62-
Location: ElementalNodal
63-
Unit:
64-
Num. id(s): 8640
65-
Shape: 69120
61+
DPF elastic_strain_1.s0 Field
62+
Location: ElementalNodal
63+
Unit:
64+
8640 entities
65+
Data:1 components and 69120 elementary data
6666
6767
This ElementalNodal strain must be converted to nodal strain for
6868
it to be plotted.

0 commit comments

Comments
 (0)