aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plots.py b/plots.py
index c2f594d..3aa585a 100644
--- a/plots.py
+++ b/plots.py
@@ -240,9 +240,9 @@ def plot_SigmaR(iout0, iout1, \
plt.xlabel('Radius (Arbitrary Units)')
plt.ylabel('Sigma (Arbitrary Units)')
if yscale == 'log':
- plt.title('Log10 Surface Density, t = %.2f' % npz0["tout"])
+ plt.title('Log10 Surface Density, t = %.2f [yr]' % (npz0["tout"]/2./pi))
elif yscale == 'lin':
- plt.title('Surface Density, t = %.2f' % npz0["tout"])
+ plt.title('Surface Density, t = %.2f [yr]' % (npz0["tout"]/2./pi))
plt.legend([h0,h1], ['Current', 'Reference'])
if save: