1#!/usr/bin/env bash
2# Test the variable widths and heights options for subplots
3# This test uses a variable subplot dimensions
4gmt begin vardims ps
5  gmt subplot begin 3x2 -Fs2i,4i/2.5i,5i,1.25i -Srl+p -Scb -BWSne -M0 -AA+v -T"Variable dimensions"
6    gmt basemap -R0/5/0/5 -B+gpink
7    gmt basemap -R0/5/10/15 -B+gcyan -c
8    gmt basemap -R0/5/10/15 -B+glightgray -c
9    gmt basemap -R10/15/0/5 -B+gyellow -c
10    gmt basemap -R10/15/10/15 -B+gpurple -c
11    gmt basemap -R10/15/10/15 -B+gorange -c
12  gmt subplot end
13gmt end show
14