File: GMT_API_flow.sh

package info (click to toggle)
gmt 5.4.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 149,844 kB
  • sloc: ansic: 202,639; sh: 7,742; xml: 149; makefile: 73; fortran: 49; lisp: 41; csh: 5
file content (24 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
ps=GMT_API_flow.ps
gmt pstext -R-2/3/-1/1 -Jx1i -P -F+f14p,Helvetica-Bold -Gwhite -W0.5p -N -K -C50% -X2i << EOF > $ps
-2	0	EXTERNAL INTERFACE
0	0	gmt
1.27	0	parser
3.1	0	GMT C/C++ API
EOF
gmt psxy -R -J -O -K -W1p+v0.15i+gblack+h0.5 << EOF >> $ps
>
-0.8	0
-0.27	0
>
0.27	0
0.88	0
>
1.66	0
2.30	0
EOF
gmt pstext -R -J -O -K -F+f48p,Helvetica,gray -N << EOF >> $ps
0.60	0.06	[
1.97	0.06	]
EOF
gmt psxy -R -J -O -T >> $ps