Probe Software Users Forum
Software => CalcImage => Topic started by: Ben Buse on October 17, 2019, 03:35:22 AM
-
Hi,
Has anyone used GMT generic mapping tools
http://gmt.soest.hawaii.edu/ (http://gmt.soest.hawaii.edu/)
With three lines of code I can create a ps or pdf file from a surfer grid file
(https://probesoftware.com/smf/gallery/453_17_10_19_4_06_23.png)
The first line sets up the color scale, starting at 0 to 5000
gmt makecpt -T-0/5000 > compo.cpt
The second line plots the map [B5 sets tick marks on axis every five units, for above image I used B0.05]:
gmt grdimage 1-5_00006_COMPO.grd -JX6i+ -I -B5 -Ccompo.cpt -K > COMPO4.pdf
The third line plots the color intensity scale:
gmt psscale -Ccompo.cpt -Dx6.5i/15c+w12c/0.5c+jTC -Bx1000 -O >> COMPO4.pdf
Does anyone know if its possible to plot a distance scale bar, or is it not possible without geographic projection. Also I've yet to figure out how to label axes.
Thanks
Ben