# # Temperature profile in the ocean # gmt psbasemap -P -JX6/-15 -R0/30/0/1000 -B10:"Temperature (@+o@+C)":/100:"Depth (m)":WN -X4 -Y10 -K > profile.ps awk '{print $2, $1}' profile.txt > junk gmt psxy junk -J -R -B -W1 -O -K >> profile.ps # sal gmt psbasemap -JX -R34/36/0/1000 -B0.5:"Salinity":/100:"Depth (m)":WN -X8 -O -K >> profile.ps awk '{print $3, $1}' profile.txt > junk gmt psxy junk -J -R -B -W1 -O >> profile.ps convert profile.ps profile.jpg