[cig-commits] [commit] devel, master: added a color scale to the GMT script (ec7a783)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:17:23 PST 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

>---------------------------------------------------------------

commit ec7a78370d4d6abb83657f95ae6665c67b3e8432
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Tue May 20 02:23:53 2014 +0200

    added a color scale to the GMT script


>---------------------------------------------------------------

ec7a78370d4d6abb83657f95ae6665c67b3e8432
 topo_bathy/display_topography_of_SPECFEM3D_GLOBE_with_GMT.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/topo_bathy/display_topography_of_SPECFEM3D_GLOBE_with_GMT.sh b/topo_bathy/display_topography_of_SPECFEM3D_GLOBE_with_GMT.sh
index 51b2925..4eb3154 100755
--- a/topo_bathy/display_topography_of_SPECFEM3D_GLOBE_with_GMT.sh
+++ b/topo_bathy/display_topography_of_SPECFEM3D_GLOBE_with_GMT.sh
@@ -27,7 +27,9 @@ gmtset ANNOT_FONT_SIZE_PRIMARY 10p HEADER_FONT_SIZE 18p PLOT_DEGREE_FORMAT ddd:m
 grdimage topography_of_SPECFEM_mesh.grd -CGMTglobe.cpt -Rd -JK$central_meridian/9i -Y4.5c -K -V > $ps
 
 ## DK DK offset of -1.5 inch
-pscoast -Rd -JK$central_meridian/9i -B45g30:."Topography of SPECFEM3D_GLOBE mesh": -W -Dc -A1000 -U/-0.75i/-1.5i/"SPECFEM3D_GLOBE calculations by Dimitri Komatitsch" -V -O >> $ps
+pscoast -Rd -JK$central_meridian/9i -B45g30:."Topography of SPECFEM3D_GLOBE mesh": -W -Dc -A1000 -U/-0.75i/-1.5i/"SPECFEM3D_GLOBE calculations by Dimitri Komatitsch" -V -K -O >> $ps
+
+psscale -CGMTglobe.cpt -D12.5/-1.5/16/0.25h -B2000.:"Elevation (m)": -V -O >> $ps
 
 ## DK DK convert the final file to PDF
 ps2pdf $ps



More information about the CIG-COMMITS mailing list