Commit 0c7a0a5d authored by Olaf's avatar Olaf

Choose better visible colour in plot

parent 2d3a2d7c
......@@ -143,7 +143,7 @@ def plot_energy(bodies, settings):
fig = plt.figure()
plt.plot(t, E_kin, color = 'yellow', label = 'Kinetic energy')
plt.fill_between(t, E_kin - E_kin_std, E_kin + E_kin_std, alpha = settings.plot.error_alpha, color = 'yellow')
plt.fill_between(t, E_kin - E_kin_std, E_kin + E_kin_std, alpha = settings.plot.error_alpha, color = 'red')
plt.plot(t, E_pot, color = 'blue', label = 'Potential energy')
plt.fill_between(t, E_pot - E_pot_std, E_pot + E_pot_std, alpha = settings.plot.error_alpha, color = 'blue')
......
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