/usr/share/doc/gmt/examples/ex08/example_08.sh is in gmt-examples 5.2.1+dfsg-3build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash
# GMT EXAMPLE 08
# $Id: example_08.sh 11641 2013-06-07 00:06:36Z pwessel $
#
# Purpose: Make a 3-D bar plot
# GMT progs: grd2xyz, pstext, psxyz
# Unix progs: echo, rm
#
ps=example_08.ps
gmt grd2xyz guinea_bay.nc | gmt psxyz -B1 -Bz1000+l"Topography (m)" -BWSneZ+b+tETOPO5 \
-R-0.1/5.1/-0.1/5.1/-5000/0 -JM5i -JZ6i -p200/30 -So0.0833333ub-5000 -P \
-Wthinnest -Glightgreen -K > $ps
echo '0.1 4.9 This is the surface of cube' | gmt pstext -R -J -JZ -Z0 \
-F+f24p,Helvetica-Bold+jTL -p -O >> $ps
|