aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-03-26 09:45:52 +0100
committerVolker Hoffmann <volker@cheleb.net>2013-03-26 09:45:56 +0100
commit9f38e49c0f8a144ba97ff94865b5e4d81109e8eb (patch)
tree082c364a9a1fdad99f14022601df2b7f0efb8fad
parentcd74014202e356481db42ffee9e2556997dd9630 (diff)
SigmaR: show code units and years in time indicator
-rw-r--r--plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plots.py b/plots.py
index b63bbc3..0d2a6a9 100644
--- a/plots.py
+++ b/plots.py
@@ -259,9 +259,9 @@ def plot_SigmaR(iout0, iout1, \
plt.xlabel('Radius [AU]')
plt.ylabel('Sigma [Mstar/AU^2]')
if yscale == 'log':
- plt.title('Log10 Surface Density, t = %.2f [yr]' % (npz0["tout"]/2./pi))
+ plt.title('Log10 Surface Density, t = %.2f [code] (%.2f [yr])' % ( npz0["tout"], npz0["tout"]/2./pi) )
elif yscale == 'lin':
- plt.title('Surface Density, t = %.2f [yr]' % (npz0["tout"]/2./pi))
+ plt.title('Surface Density, t = %.2f [code] (%.2f [yr])' % ( npz0["tout"], npz0["tout"]/2./pi) )
if save:
plt.savefig('SigmaR_%05d.%s' % ( iout0, ftype ))