Skip to content

Commit 5a1edff

Browse files
updates
1 parent 54430c9 commit 5a1edff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/user_guide/tutorials/plot/plotting_data_on_specific_placements.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Plotting data on specific placements
1414
.. |Points| replace:: :class:`Points <ansys.dpf.core.geometry.Points>`
1515
.. |Plane| replace:: :class:`Plane <ansys.dpf.core.geometry.Plane>`
1616
.. |mapping| replace:: :class:`mapping <ansys.dpf.core.operators.mapping.on_coordinates.on_coordinates>`
17+
1718
This tutorial shows how to plot data on specific placements of a mesh:
1819

1920
- :ref:`plot_specific_path`

doc/source/user_guide/tutorials/plot/plotting_data_on_the_mesh.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Printing the model displays the available results.
5656
print(my_model)
5757

5858
We need to extract the data we want to plot. Mind that the results location must be of
59-
type ``Elemental`` or ``Nodal``. Fot more information about extracting results from a
59+
type ``Elemental`` or ``Nodal`` for plotting. Fot more information about extracting results from a
6060
result file check the :ref:`ref_tutorials_import_data` tutorials section.
6161

6262
Here we choose to get the XX stress tensor component result. We start by extracting the stress results:
@@ -76,8 +76,7 @@ Here we choose to get the XX stress tensor component result. We start by extract
7676
my_stress = my_model.results.stress()
7777
print(my_stress.eval())
7878

79-
As the stress result is in a ``ElementalNodal`` location we have to change it
80-
(for plotting the location needs to be of type ``Elemental`` or ``Nodal``).
79+
As the stress result is in a ``ElementalNodal`` location we have to change it.
8180

8281
Here we define the new location with a input of the
8382
:class:`stress() <ansys.dpf.core.operators.result.stress.stress>` operator.

0 commit comments

Comments
 (0)