#!/usr/bin/env bash
#
# Plot all the symbols on a 1x1 inch grid pattern

ps=plot_symbols.ps

gmt psxy -R0/4/1/6 -Jx1i -P -Bg1 -W0.25p -S1i -X2i -Y2i << EOF > $ps
> Fat pen -W2p
0.5	5.5	-
> Plain red symbols -W- -Gred
1.5	5.5	b+b5
2.5	5.5	B+b2
3.5	5.5	c
> Switch to green -Ggreen -W1p
0.5	4.5	d
1.5	4.5	90	1	0.5	e
2.5	4.5	g
3.5	4.5	h
> Do pattern # 7 -Gp7+r100
0.5	3.5	i
1.5	3.5	90	1	0.5	j
> Do orange -Gorange
2.5	3.5	l+tM
3.5	3.5	n
> Do yellowized pattern # 20 -Gp20+fyellow+r100
0.5	2.5	1	0.5	r
1.5	2.5	s
2.5	2.5	t
> Blue wedges -Gblue
3.5	2.5	80	30	w
0.5	1.5	30	80	w
> Fat red pen -W2p,red -G-
1.5	1.5	x
> Fat pen -W2p
1.5	1.5	+
2.5	1.5	y
> Dual-colored pattern # 12 -Gp12+fred+bgreen+r100 -W3p,orange
3.5	1.5	a
EOF

