Skip to content

Commit

Permalink
update Re on airfoil plot
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 30, 2018
1 parent d0d67c5 commit cae6cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solar/fits/airfoil/polarfits.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def plot_fits(cnstr, x, y):
c = 0
for r, cl, cd, fi in zip(exp(x1), x0, y0, yf0):
ax.plot(exp(cl), exp(cd), "o", mec=colors[c], mfc="none", mew=1.5)
ax.plot(exp(cl), exp(fi), c=colors[c], label="Re = %dk" % r, lw=2)
ax.plot(exp(cl), exp(fi), c=colors[c], label="Re = %dk" % (round(r/1e4)*10), lw=2)
c += 1
ax.set_xlabel("$C_L$")
ax.set_ylabel("$c_{d_p}$")
Expand Down

0 comments on commit cae6cc3

Please sign in to comment.