Contour Plot


grdcontour

    Options:
        -J      : Projection
        -C      : Contour Interval
        -A      : Annotation interval and font size
        -W      : Line thickness

gmt pscoast -P -JM12 -Dl -R40/110/-30/30 -B20WeSn -G100 -W1 -X5 -Y10 -K > fig.ps
awk '$3 > 0 {print $1, $2, $3}' temp-jan.out > junk
gmt surface junk -R -I0.1 -Gjunk.grd
gmt grdcontour junk.grd -J -C0.5 -A1f9 -W1 -O -K >> fig.ps
gmt pscoast -J -Dl -G200 -R -B -W1 -O >> fig.ps
# Contour using grdcontour
# Restricting data with -L
################################

gmt pscoast -P -JM12 -Dl -R40/110/-30/30 -B20WeSn -W1 -X5 -Y10 -K > fig.ps
awk '$3 > 0 {print $1, $2, $3}' temp-jan.out > junk
gmt surface junk -R -I0.1 -Gjunk.grd
gmt grdcontour junk.grd -J -C0.2 -L28/30 -A0.2f9 -W1 -O -K >> fig.ps
gmt pscoast -J -Dl -G200 -R -B -W1 -O >> fig.ps