Skip to content

Commit 85121d4

Browse files
Fix multiharmonics example (#1406)
* correction * removed unecessary files * removed unecessary files
1 parent 1ad563d commit 85121d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/03-harmonic_analyses/00-multi_harmonic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@
7575
field2 = fields[1]
7676

7777
###############################################################################
78-
# Plot the minimum and maximum displacements over time.
78+
# Plot the maximum displacements over time for Node ID 2 and 18
7979

80-
pyplot.plot(field1.data, "r", label="Field 1")
81-
pyplot.plot(field2.data, "b", label="Field 2")
80+
pyplot.plot(field1.data, "r", label="NODE-ID 2")
81+
pyplot.plot(field2.data, "b", label="NODE-ID 18")
8282
pyplot.xlabel("Frequency (Hz)")
8383
pyplot.ylabel("Displacement (m)")
8484
pyplot.legend()

examples/06-plotting/03-labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@
132132
# position, focal point, and view respectively.
133133
plot.show_figure(
134134
show_axes=True,
135-
cpos=[(0.123, 0.095, 1.069), (-0.121, -0.149, 0.825), (0.0, 0.0, 1.0)],
135+
cpos=[(0.123, 0.095, 1.069), (-0.121, -0.149, 0.825), (0.0, 0.0, 1.0)]
136136
)

0 commit comments

Comments
 (0)