diff options
author | Volker Hoffmann <volker@cheleb.net> | 2013-09-26 12:11:41 +0200 |
---|---|---|
committer | Volker Hoffmann <volker@cheleb.net> | 2013-09-26 12:11:41 +0200 |
commit | 47f912dca9d40744e6187b201a6c1f8886543e4d (patch) | |
tree | 35406c5476556c5ff75d5cf8d7bff6e0f77de514 | |
parent | 66ae7f86d6b4be11a152407ff8547af3b778f2e9 (diff) |
add cl argument for log10(T) cuts
-rw-r--r-- | mkcuts_dvpT.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkcuts_dvpT.py b/mkcuts_dvpT.py index 65317d9..682ea4f 100644 --- a/mkcuts_dvpT.py +++ b/mkcuts_dvpT.py @@ -30,6 +30,7 @@ def main(): parser.add_argument("-v", action="store_true", help='Show Velocity Cuts') parser.add_argument("-p", action="store_true", help='Show Pressure Cuts') parser.add_argument("-T", action="store_true", help='Show Temperature Cuts') + parser.add_argument("-lT", action="store_true", help='Show Log10 Temperature Cuts') parser.add_argument("--save", action="store_true", help='Save Figures') parser.add_argument("--show", action="store_true", help='Show Figures') parser.add_argument("--px", type=int, \ @@ -221,6 +222,8 @@ def main(): plt.xlabel('Y [AU]') plt.ylabel('Z [AU]') + # Plot Log10 of Temperature + if args.lT: f9 = plt.figure(9) plt.imshow(lTZ, cmap=tmp_cm, extent=ext, interpolation='none') plt.colorbar() @@ -251,6 +254,7 @@ def main(): if args.T: f7.savefig('cut_Txy_%05d.png' % iout) f8.savefig('cut_Tzy_%05d.png' % iout) + if args.lT: f9.savefig('cut_logTxy_%05d.png' % iout) f10.savefig('cut_logTzy_%05d.png' % iout) @@ -271,6 +275,7 @@ def main(): if args.T: plt.close(f7) plt.close(f8) + if args.lT: plt.close(f9) plt.close(f10) |