updated psscale -B argument to gmt5 syntax
authorAndreas Thurnherr
Tue, 29 Oct 2019 13:16:36 -0400
changeset 53 b4374f1ebd60
parent 52 4ccccbf69dfd
child 54 828e5466391b
updated psscale -B argument to gmt5 syntax
plot_backscatter.pl
plot_correlation.pl
plot_residuals.pl
plot_residuals12.pl
plot_residuals34.pl
plot_wsamp.pl
--- a/plot_backscatter.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_backscatter.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,9 +1,9 @@
 #======================================================================
 #                    P L O T _ B A C K S C A T T E R . P L 
 #                    doc: Tue Jul 28 13:21:09 2015
-#                    dlm: Tue May 24 23:09:58 2016
+#                    dlm: Tue Oct 29 13:13:02 2019
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 61 38 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 73 54 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -14,6 +14,7 @@
 #                 - expunged $realLastGoodEns
 #   May 24, 2016: - calc_binDepths() -> binDepths()
 #				  - fixed for partial-depth casts
+#	Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -68,7 +69,8 @@
 		print(GMT "0.01 -0.06 $P{out_basename} $P{run_label}\n");
 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:S\@-v\@-:");
+#	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:S\@-v\@-:");
+	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -By+lS\@-v\@-");
 
 	GMT_end();																			# FINISH PLOT
 }
--- a/plot_correlation.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_correlation.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,9 +1,9 @@
 #======================================================================
 #                    P L O T _ C O R R E L A T I O N . P L 
 #                    doc: Tue Jul 28 13:21:09 2015
-#                    dlm: Tue May 24 23:10:09 2016
+#                    dlm: Tue Oct 29 13:13:52 2019
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 67 38 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 17 53 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -14,6 +14,7 @@
 #                 - expunged $realLastGoodEns
 #   May 24, 2016: - calc_binDepths() -> binDepths()
 #				  - fixed for partial-depth casts
+#   Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -69,8 +70,8 @@
 	GMT_psbasemap("-B$ens_tics:'Ensemble [#]':/$depth_tics:'Depth [m]':WeSn");
 		 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-#	GMT_psscale("-E -D8/2/3/0.4 $C -B/:corr:");
-	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:corr:");
+#	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:corr:");
+	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -By+lcorr");
 
 	GMT_end();																			# FINISH PLOT
 }
--- a/plot_residuals.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_residuals.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,9 +1,9 @@
 #======================================================================
 #                    P L O T _ R E S I D U A L S . P L 
 #                    doc: Tue Jul 28 13:21:09 2015
-#                    dlm: Tue May 24 23:10:20 2016
+#                    dlm: Tue Oct 29 13:14:19 2019
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 83 38 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 20 0 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -16,6 +16,7 @@
 #                 - expunged $realLastGoodEns
 #   May 24, 2016: - calc_binDepths() -> binDepths()
 #				  - fixed for partial-depth casts
+#   Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -85,7 +86,8 @@
 	GMT_psbasemap("-B$ens_tics:'Ensemble [#]':/$depth_tics:'Depth [m]':WeSn");
 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:w\@-residual\@-:");
+#	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:w\@-residual\@-:");
+	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -By+lw\@-residual\@-");
 		 
 	GMT_end();																			# FINISH PLOT
 }
--- a/plot_residuals12.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_residuals12.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,13 +1,14 @@
 #======================================================================
 #                    P L O T _ R E S I D U A L S 1 2 . P L 
 #                    doc: Wed Jun  1 19:05:22 2016
-#                    dlm: Wed Jun  1 19:35:43 2016
+#                    dlm: Tue Oct 29 13:14:53 2019
 #                    (c) 2016 A.M. Thurnherr
-#                    uE-Info: 82 67 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 84 46 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
 #	Jun  1, 2016: - created from [plot_residuals.pl]
+#   Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -79,8 +80,8 @@
 	GMT_psbasemap("-B$ens_tics:'Ensemble [#]':/$depth_tics:'Depth [m]':WeSn");
 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:'w<1,2>\@-residual\@-':");
-		 
+#	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:'w<1,2>\@-residual\@-':");
+	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -By+l'w<1,2>\@-residual\@-'");		 
 	GMT_end();																			# FINISH PLOT
 }
 
--- a/plot_residuals34.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_residuals34.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,13 +1,14 @@
 #======================================================================
 #                    P L O T _ R E S I D U A L S 3 4 . P L 
 #                    doc: Wed Jun  1 19:05:22 2016
-#                    dlm: Wed Jun  1 19:35:58 2016
+#                    dlm: Tue Oct 29 13:15:21 2019
 #                    (c) 2016 A.M. Thurnherr
-#                    uE-Info: 82 67 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 84 68 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
 #	Jun  1, 2016: - created from [plot_residuals.pl]
+#   Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -79,7 +80,8 @@
 	GMT_psbasemap("-B$ens_tics:'Ensemble [#]':/$depth_tics:'Depth [m]':WeSn");
 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:'w<3,4>\@-residual\@-':");
+#	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -B/:'w<3,4>\@-residual\@-':");
+	GMT_psscale("-Dn0.83/0.1+w3/0.4+e $C -By+l'w<3,4>\@-residual\@-'");
 		 
 	GMT_end();																			# FINISH PLOT
 }
--- a/plot_wsamp.pl	Wed Aug 28 17:51:34 2019 -0400
+++ b/plot_wsamp.pl	Tue Oct 29 13:16:36 2019 -0400
@@ -1,9 +1,9 @@
 #======================================================================
 #                    P L O T _ W S A M P . P L 
 #                    doc: Tue Jul 28 13:21:09 2015
-#                    dlm: Tue May 24 23:10:28 2016
+#                    dlm: Tue Oct 29 13:15:41 2019
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 73 38 NIL 0 0 72 0 2 4 NIL ofnI
+#                    uE-Info: 17 0 NIL 0 0 72 0 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -17,6 +17,7 @@
 #                 - expunged $realLastGoodEns
 #   May 24, 2016: - calc_binDepths() -> binDepths()
 #				  - fixed for partial-depth profiles
+#	Oct 29, 2019: - updated psscale -B to gmt5 syntax
 
 require "$ANTS/libGMT.pl";
 
@@ -75,7 +76,8 @@
 	GMT_psbasemap("-B$ens_tics:'Ensemble [#]':/$depth_tics:'Depth [m]':WeSn");
 		 
 	GMT_setAnnotFontSize(7);															# SCALE BAR
-	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:w\@-ocean\@-:");
+#	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -B/:w\@-ocean\@-:");
+	GMT_psscale("-Dn0.85/0.1+w3/0.4+e $C -By+lw\@-ocean\@-");
 
 	GMT_end();																			# FINISH PLOT
 }