summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-08-18 13:12:29 +0200
committerVolker Hoffmann <volker@cheleb.net>2013-08-18 13:12:29 +0200
commitd83310d75303353f639b145afd7896efe4371352 (patch)
tree839a4fb1d748c61055b4859bd2550f62d8e24dd8
parent3cad435dceadd67096d9617d11beb10713467916 (diff)
reformat and include nstep_coarse in quad title
-rw-r--r--plot_quad.py4
-rw-r--r--plot_quad_mag_r.py4
-rw-r--r--plot_quad_mag_xy.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/plot_quad.py b/plot_quad.py
index 321eb8e..e19c22e 100644
--- a/plot_quad.py
+++ b/plot_quad.py
@@ -155,8 +155,8 @@ for iout in iouts:
# resume figuring
disk.plot_Q_r(ax4)
- plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / %05d [iout] / M_infall=%1.2e [Mstar/yr]" % \
- (disk.info["time"], disk.info["time"]/2./pi, iout, disk.infall_rate))
+ plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / iout=%05d / nstep=%06d / M_infall=%1.2e [Mstar/yr]" % \
+ (disk.info["time"], disk.info["time"]/2./pi, iout, disk.info["nstep_coarse"], disk.infall_rate))
plt.savefig('Quad_%05d.png' % iout)
plt.clf()
plt.close()
diff --git a/plot_quad_mag_r.py b/plot_quad_mag_r.py
index ab69fde..34c3c90 100644
--- a/plot_quad_mag_r.py
+++ b/plot_quad_mag_r.py
@@ -74,8 +74,8 @@ for iout in iouts:
disk.plot_xe_mid_r(ax3, ylim=xe_mid_r_lim)
disk.plot_ReM_mid_r(ax4, ylim=ReM_mid_r_lim)
- plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / %05d [iout] / M_infall=%1.2e [Mstar/yr]" % \
- (disk.info["time"], disk.info["time"]/2./pi, iout, disk.infall_rate))
+ plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / iout=%05d / nstep=%06d / M_infall=%1.2e [Mstar/yr]" % \
+ (disk.info["time"], disk.info["time"]/2./pi, iout, disk.info["nstep_coarse"], disk.infall_rate))
fig.savefig('Quad_Mag_R_%05d.png' % iout)
del disk
diff --git a/plot_quad_mag_xy.py b/plot_quad_mag_xy.py
index 7a53d6b..e43bb13 100644
--- a/plot_quad_mag_xy.py
+++ b/plot_quad_mag_xy.py
@@ -71,8 +71,8 @@ for iout in iouts:
disk.plot_xe_mid_xy(ax3, clim=xe_mid_xy_lim)
disk.plot_ReM_mid_xy(ax4, clim=ReM_mid_xy_lim)
- plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / %05d [iout] / M_infall=%1.2e [Mstar/yr]" % \
- (disk.info["time"], disk.info["time"]/2./pi, iout, disk.infall_rate))
+ plt.suptitle("t=%0.2f [code] / t=%0.2f [yr] / iout=%05d / nstep=%06d / M_infall=%1.2e [Mstar/yr]" % \
+ (disk.info["time"], disk.info["time"]/2./pi, iout, disk.info["nstep_coarse"], disk.infall_rate))
fig.savefig('Quad_Mag_XY_%05d.png' % iout)
del disk