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

GMT_base_symbols3.sh 605 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
  1. #!/usr/bin/env bash
  2. #
  3. # Plot psxy text symbol for the man page
  4. ps=GMT_base_symbols3.ps
  5. cat << EOF > tmp.txt
  6. # All the basic geometric psxy symbols
  7. > -Gblack
  8. 1 1 1.5c l+tA+f1c,Times-Roman
  9. > -Glightred
  10. 2 1 1.5c l+tB+f1c,Helvetica-Bold
  11. > -G-
  12. 3 1 1.25c l+tNO+f1c,Palatino-Bold
  13. > -Glightblue
  14. 4 1 2c l+t*+f1c,NewCenturySchlbk-Bold
  15. > -Gred -Wfaint
  16. 5 1 2c l+tp+f1c,Symbol
  17. EOF
  18. grep -v '>' tmp.txt | gmt psxy -R0.5/5.5/0.5/1.5 -B0g1 -B+n -Jx2c -Sc1.5c -W0.25p -P -K --PROJ_LENGTH_UNIT=cm -i0,1 --MAP_GRID_PEN_PRIMARY=default,dashed > $ps
  19. gmt psxy tmp.txt -R -J -S -Glightred -W1p -O --PROJ_LENGTH_UNIT=cm >> $ps
Tip!

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

Comments

Loading...