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_symbols6.sh 629 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
  1. #!/usr/bin/env bash
  2. #
  3. # Plot psxy custom symbols for use on man page
  4. ps=GMT_base_symbols6.ps
  5. cat << EOF > tmp.txt
  6. # All the basic geometric psxy symbols
  7. 1 1 1.5c kdeltoid
  8. 2 1 1.5 ksectoid
  9. 3 1 1.5c kvolcano
  10. 4 1 1.5c ktrirot4
  11. 5 1 1.5c khurricane
  12. 6 1 1.5c kflash
  13. 7 1 1.5c kQR
  14. EOF
  15. gmt psxy tmp.txt -R0.6/7.4/0.6/1.4 -B0g1 -B+n -Jx2c -Sc1.5c -W0.25p -P -K --PROJ_LENGTH_UNIT=cm -i0,1 --MAP_GRID_PEN_PRIMARY=default,dashed > $ps
  16. gmt psxy tmp.txt -R -J -S -Glightblue -W1p -O -K --PROJ_LENGTH_UNIT=cm >> $ps
  17. $AWK '{if ($2 == 1) print $1, $2, substr($NF,2)}' tmp.txt | gmt pstext -R -J -N -O -F+f10p,Helvetica-Bold+jTC -Dj0/1c >> $ps
Tip!

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

Comments

Loading...