summaryrefslogtreecommitdiffstats
path: root/plot_rho_rz.py
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-06-05 10:08:44 +0200
committerVolker Hoffmann <volker@cheleb.net>2013-06-05 10:10:33 +0200
commitb55fa1d7103468e735db0f0f59d0a12bfec6450a (patch)
tree1f71639b0f0e1ef830cb43b9bc03428ff2ffadeb /plot_rho_rz.py
parent891cb85e07e972474b1faabd343e48261a058cea (diff)
iout in title for rho_xy and rho_rz plots
Diffstat (limited to 'plot_rho_rz.py')
-rw-r--r--plot_rho_rz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plot_rho_rz.py b/plot_rho_rz.py
index 7e143ef..046c544 100644
--- a/plot_rho_rz.py
+++ b/plot_rho_rz.py
@@ -43,8 +43,8 @@ for iout in iouts:
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
disk.plot_rho_rz(ax, clim=rho_rz_lim)
- plt.suptitle("t=%0.2f [code] / t=%0.2f [yr]" % \
- (disk.info["time"], disk.info["time"]/2./pi))
+ plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / %05d [iout]" % \
+ (disk.info["time"], disk.info["time"]/2./pi, iout))
plt.savefig('rho_rz_%05d.png' % iout)
plt.clf()
plt.close()