Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update axis labels
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Mar 4, 2023
1 parent 09dc9e2 commit f4d1d7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
ax.set_yticks([1, 2, 4, 6, 8, 12, 16, 20, 24])
ax.set_xticks([1, 2, 4, 6, 8, 12, 16, 20, 24])
ax.grid(True)
ax.set_xlabel("Number of CPUs", fontsize=axes_fontsize)
ax.set_ylabel("Speedup (relative to Swift-SyMBA)", fontsize=axes_fontsize)
ax.set_xlabel("Number of cores", fontsize=axes_fontsize)
ax.set_ylabel("Speedup (relative to Swift)", fontsize=axes_fontsize)
ax.set_facecolor("white")
plt.plot(swest[n]['N cores'], swift[n]['wall time(s)'][0] / swest[n]['wall time(s)'], alpha=0.5, linewidth=6, label="Swiftest")
plt.plot(swomp[n]['N cores'], swift[n]['wall time(s)'][0] / swomp[n]['wall time(s)'], c="darkgreen", alpha=0.5, linewidth=6, label="Swifter-OMP")
Expand Down

0 comments on commit f4d1d7b

Please sign in to comment.