summaryrefslogtreecommitdiffstats
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
parent891cb85e07e972474b1faabd343e48261a058cea (diff)
iout in title for rho_xy and rho_rz plots
-rw-r--r--plot_rho_rz.py4
-rw-r--r--plot_rho_xy.py4
2 files changed, 4 insertions, 4 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()
diff --git a/plot_rho_xy.py b/plot_rho_xy.py
index dde002c..ee8aa35 100644
--- a/plot_rho_xy.py
+++ b/plot_rho_xy.py
@@ -43,8 +43,8 @@ for iout in iouts:
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
disk.plot_rho_xy(ax, clim=rho_xy_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_xy_%05d.png' % iout)
plt.clf()
plt.close()