Commit 1c68af1a authored by Tjerk Vreeken's avatar Tjerk Vreeken

Use superscript 3 in source instead of unicode code point

parent 86639ea6
......@@ -20,7 +20,7 @@ axarr[0].set_title('Water Volume and Discharge')
f.autofmt_xdate()
# Upper subplot
axarr[0].set_ylabel('Water Volume [m\u00B3]')
axarr[0].set_ylabel('Water Volume [m³]')
axarr[0].ticklabel_format(style='sci', axis='y', scilimits=(0,0))
axarr[0].plot(results['time'], results['V_storage'], label='Storage',
linewidth=2, color='b')
......@@ -30,7 +30,7 @@ axarr[0].plot(results['time'], [380000]*len(results['time']), label='Storage Min
linewidth=2, color='g', linestyle='--')
# Lower Subplot
axarr[1].set_ylabel('Flow Rate [m\u00B3/s]')
axarr[1].set_ylabel('Flow Rate [m³/s]')
# axarr[1].plot(results['time'], results['Q_in'], label='Inflow',
# linewidth=2, color='g')
axarr[1].plot(results['time'], results['Q_release'], label='Release',
......
......@@ -25,11 +25,11 @@ shades = [0.5, 0.8]
f.autofmt_xdate()
# Upper Subplot
axarr[0].set_ylabel('Water Volume in Storage [m\u00B3]')
axarr[0].set_ylabel('Water Volume in Storage [m³]')
axarr[0].ticklabel_format(style='sci', axis='y', scilimits=(0,0))
# Lower Subplot
axarr[1].set_ylabel('Flow Rate [m\u00B3/s]')
axarr[1].set_ylabel('Flow Rate [m³/s]')
# Plot Ensemble Members
for idx, forecast in enumerate(forecast_names):
......
......@@ -35,7 +35,7 @@ axarr[1].plot(results['time'], 0.43 * np.ones_like(results['time']), label='Stor
linewidth=2, color='g', linestyle='--')
# Lower Subplot
axarr[2].set_ylabel('Flow Rate [m\u00B3/s]')
axarr[2].set_ylabel('Flow Rate [m³/s]')
axarr[2].plot(results['time'], results['Q_orifice'], label='Orifice',
linewidth=2, color='g')
axarr[2].plot(results['time'], results['Q_pump'], label='Pump',
......
......@@ -20,7 +20,7 @@ axarr[0].set_title('Water Volume and Discharge')
f.autofmt_xdate()
# Upper subplot
axarr[0].set_ylabel('Water Volume [m\u00B3]')
axarr[0].set_ylabel('Water Volume [m³]')
axarr[0].ticklabel_format(style='sci', axis='y', scilimits=(0,0))
axarr[0].plot(results['time'], results['storage_V'], label='Storage',
linewidth=2, color='b')
......@@ -30,7 +30,7 @@ axarr[0].plot(results['time'], results['V_min'], label='Storage Min',
linewidth=2, color='g', linestyle='--')
# Lower Subplot
axarr[1].set_ylabel('Flow Rate [m\u00B3/s]')
axarr[1].set_ylabel('Flow Rate [m³/s]')
axarr[1].plot(results['time'], results['Q_in'], label='Inflow',
linewidth=2, color='g')
axarr[1].plot(results['time'], results['Q_release'], label='Release',
......
......@@ -27,7 +27,7 @@ axarr[0].plot(results['time'], 0.5 * np.ones_like(results['time']), label='Stora
linewidth=2, color='r', linestyle='--')
# Lower Subplot
axarr[1].set_ylabel('Flow Rate [m\u00B3/s]')
axarr[1].set_ylabel('Flow Rate [m³/s]')
axarr[1].plot(results['time'], results['Q_orifice'], label='Orifice',
linewidth=2, color='g')
axarr[1].plot(results['time'], results['Q_pump'], label='Pump',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment