I would like to create a contour plot. I have a .txt file with 3 columns (1st with Latitude, 2nd with longtitude and 3rd with several values from 1-20). I would like to create a contour plot (XYZ) for the 3rd column.
I am using these commands but no use:
**xyz2grd data.txt **
grd2cpt data.grd -Crainbow -S0/1.5/0.01 > data.cpt
grdimage data.grd -R -Cdata.cpt -B0.1f0.1 -JM18 -E100 -X1.5 -P -K > data.ps
pscoast -R -JM -B0.1f0.1 -N1to -Df -W3/0/0/0 -O -K >> data.ps
grdcontour data.grd -C0.01 -A0.01t -JM -W0.5p/0/0/0 -O >> data.ps
Could you please help me?
I am using GMT 5 version