Skip to content

Commit

Permalink
Make axes equal (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
je-cook authored Oct 22, 2024
1 parent 27c91b0 commit f9fefdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eqdsk/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def _setup_plotting(eq: EQDSKInterface):
fig.suptitle(f"EQDSK: {eq.name}")
ax.set_xlabel("R [m]")
ax.set_ylabel("Z [m]")
ax.set_aspect("equal")

# plot mag center
ax.plot(eq.xmag, eq.zmag, color="red", marker="o")
Expand Down

0 comments on commit f9fefdf

Please sign in to comment.