File: GMT_hinge.sh

package info (click to toggle)
gmt 6.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 107,344 kB
  • sloc: ansic: 272,264; sh: 8,955; fortran: 49; makefile: 44; perl: 32; csh: 9
file content (11 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
gmt begin GMT_hinge
	gmt set GMT_THEME cookbook
	gmt makecpt -Cglobe -T-8000/3000
	gmt colorbar -B -Dx0/0+w4.5i/0.1i+h -W0.001
	gmt colorbar -Cglobe -B -Dx0/0+w4.5i/0.1i+h -W0.001 -Y0.5i
	echo 2.25 0.1 90 0.2i | gmt plot -R0/4.5/0/1 -Jx1i -Sv0.1i+a80+b -W1p -Gblack
	gmt text -F+f12p+jCB <<- EOF
	2.25	0.35	HINGE
	EOF
gmt end show