#!/bin/csh grd2xyz topo.grd | psxyz -B1/1/1000:"Topography (m)"::.ETOPO5:WSneZ+ -R-0.1/5.1/-0.1/5.1/-5000/0 -JM5 -JZ5 -E200/30 -So0.0833333b-5000 -P -U"Example 8 in Cookbook" -L -G240 -K >! example_08.ps echo '0.1 4.9 24 0 1 9 This is the surface of cube' | pstext -R -JM -JZ -Z0 -E200/30 -O >> example_08.ps \rm -f .gmtcommands