File: GMT_hinge.sh

package info (click to toggle)
gmt 5.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 150,460 kB
  • ctags: 18,539
  • sloc: ansic: 194,217; sh: 7,349; xml: 149; makefile: 72; fortran: 49; lisp: 41; csh: 5
file content (11 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#	$Id: GMT_hinge.sh 16664 2016-06-29 01:50:26Z pwessel $
#
ps=GMT_hinge.ps
gmt makecpt -Cglobe -T-8000/3000 > t.cpt
gmt psscale -Ct.cpt  -K -P -Baf -Dx0/0+w4.5i/0.1i+h -W0.001 > $ps
gmt psscale -Cglobe  -O -K -Baf -Dx0/0+w4.5i/0.1i+h -W0.001 -Y0.5i >> $ps
echo 2.25 0.1 90 0.2i | gmt psxy -R0/4.5/0/1 -Jx1i -O -K -Sv0.1i+a80+b -W1p -Gblack >> $ps
gmt pstext -R -J -O -F+f12p+jCB << EOF >> $ps
2.25	0.35	HINGE
EOF