File: subplot_4.3.sh

package info (click to toggle)
gmt 6.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,184 kB
  • sloc: ansic: 294,045; sh: 30,961; lisp: 86; fortran: 49; makefile: 43; perl: 32; csh: 9
file content (23 lines) | stat: -rwxr-xr-x 817 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
#!/usr/bin/env bash
#
# Testing all combinations of subplot behaviors with or without -S and how MAP_FRAME_AXES and -Bframes affect things
# subplot_1.x uses default settings and no -Sr -SC
# subplot_2.x uses -Sc
# subplot_3.x uses -Sr
# subplot_4.x uses -Sc -Sr
# subplot_x.0 uses default settings
# subplot_x.1 sets MAP_FRAME_AXES via subplot begin
# subplot_x.2 adds -Bframes via subplot begin
# subplot_x.3 adds -Bframes just for one panel (LL)
# This results in 16 different 2x2 subplot examples

# 4.3 -Sr -Sc, panel -B override
gmt begin subplot_4.3
	gmt set FONT_HEADING 28p,Helvetica,black
    gmt subplot begin 2x2 -Fs8c -SCb -Srl -R-2/2/0/10 -T"4.3: -Srl -Scb, LL panel -Bwsne"
       	gmt basemap -c
        gmt basemap -c
    	gmt basemap -c -Bwsne
      	gmt basemap -c
    gmt subplot end
gmt end show