aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-03-26 08:46:33 +0100
committerVolker Hoffmann <volker@cheleb.net>2013-03-26 08:46:33 +0100
commit615a43bb27ba9d1a0c16ec820f8cec4a97fc22c0 (patch)
tree0c6aac9759abb08bc8f743934fe4eead69c97a88
parent56788d5d1c0e2844b68c2d9a9a13d190575fe69a (diff)
SigmaR time unit in years
-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: