aboutsummaryrefslogtreecommitdiffstats
path: root/plots.py
diff options
context:
space:
mode:
Diffstat (limited to 'plots.py')
-rw-r--r--plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plots.py b/plots.py
index 72f7066..c2f594d 100644
--- a/plots.py
+++ b/plots.py
@@ -415,9 +415,9 @@ def plot_MdotR(iout, \
plt.xlabel('Radius (Arbitrary Units)')
plt.ylabel('Mass Flow (Mstar/yr) [1yr=2pi <> 1 Orbit @ R=1]')
if yscale == 'log':
- plt.title('Log10 Mass Flow, t = (%.2f, %.2f)' % ( npz["tout1"], npz["tout2"] ))
+ plt.title('Log10 Mass Flow, t = (%.2f, %.2f) [yr]' % ( npz["tout1"]/2./pi, npz["tout2"]/2./pi ))
elif yscale == 'lin':
- plt.title('Mass Flow, t = (%.2f, %.2f)' % ( npz["tout1"], npz["tout2"] ))
+ plt.title('Mass Flow, t = (%.2f, %.2f) [yr]' % ( npz["tout1"]/2./pi, npz["tout2"]/2./pi ))
if save:
plt.savefig('MdotR_%05d.%s' % ( iout, ftype ))