Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

lines.sh 999 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  1. #!/usr/bin/env bash
  2. #
  3. # Testing gmt pslegend capabilities for fronts and quoted lines
  4. ps=lines.ps
  5. gmt set FONT_ANNOT_PRIMARY 12p
  6. gmt pslegend -R0/10/0/7 -JM6i -Dx0.5i/0.5i+w5i+jBL+l1.75 -F+p1p -C0.1i/0.1i -B5f1 -P -Xc > $ps <<EOF
  7. # Legend test for gmt pslegend
  8. S 1.3i f+r+f 2i/0.6i/0.25i - 1.0p 2.6i A simple fault symbol
  9. S 1.3i f+r+s+o0.4i+p1p 2i/0.6i/0.25i - 2.0p 2.6i Right lateral strike-slip
  10. S 1.3i f+l+t 2i/0.2i/0.075i red 0.5p 2.6i Subduction zone
  11. S 1.3i f+r+c 2i/0.2i/0.075i red 0.5p 2.6i Warm front to the south
  12. S 1.3i f+l+b+p 2i/0.2i/0.075i blue 0.25p,green 2.6i Demarcation line
  13. S 1.3i f+c 2i/0.4i/0.1i white 0.5p 2.6i Some path goes here
  14. S 1.3i f+c+o0.2i+p0.25p,yellow 2i/0.4i/0.1i gray 1.0p,. 2.6i Another path is offset
  15. S 1.3i qn1:+lPerimeter 2i - 2.5p,orange 2.6i A boundary between things
  16. S 1.3i qn2:+l5m 2i - 1.5p 2.6i 5-m contour line
  17. S 1.3i qn8:+l\267 2i - 1.5p,red 2.6i Frontier between angry folk
  18. S 1.3i qN2:+lA+x 2i - 1.5p,brown 2.6i A geologic crossection
  19. EOF
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...