Skip to content

Commit

Permalink
Fix multiharmonics example (#1406)
Browse files Browse the repository at this point in the history
* correction

* removed unecessary files

* removed unecessary files
  • Loading branch information
ayush-kumar-423 authored Feb 7, 2024
1 parent 1ad563d commit 85121d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/03-harmonic_analyses/00-multi_harmonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
field2 = fields[1]

###############################################################################
# Plot the minimum and maximum displacements over time.
# Plot the maximum displacements over time for Node ID 2 and 18

pyplot.plot(field1.data, "r", label="Field 1")
pyplot.plot(field2.data, "b", label="Field 2")
pyplot.plot(field1.data, "r", label="NODE-ID 2")
pyplot.plot(field2.data, "b", label="NODE-ID 18")
pyplot.xlabel("Frequency (Hz)")
pyplot.ylabel("Displacement (m)")
pyplot.legend()
Expand Down
2 changes: 1 addition & 1 deletion examples/06-plotting/03-labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@
# position, focal point, and view respectively.
plot.show_figure(
show_axes=True,
cpos=[(0.123, 0.095, 1.069), (-0.121, -0.149, 0.825), (0.0, 0.0, 1.0)],
cpos=[(0.123, 0.095, 1.069), (-0.121, -0.149, 0.825), (0.0, 0.0, 1.0)]
)

0 comments on commit 85121d4

Please sign in to comment.