diff options
-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) |