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

corner_justify.sh 620 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. # Test gmt pstext with coordinates extracted from -R
  4. function plot {
  5. gmt pstext -R -J --FONT=24p,Helvetica-Bold -O -K $*
  6. }
  7. ps=corner_justify.ps
  8. gmt psbasemap -R0/16/0/12 -Jx1c -B5g1 -BWSne -P -K > $ps
  9. echo TopLeft | plot -F+cTL >> $ps
  10. echo MidLeft | plot -F+cML >> $ps
  11. echo BotLeft | plot -F+cBL >> $ps
  12. echo TopCenter | plot -F+cTC >> $ps
  13. echo MidCenter | plot -F+cMC >> $ps
  14. echo MidCenter | plot -D1c -F+cMC >> $ps
  15. echo BotCenter | plot -F+cBC >> $ps
  16. echo TopRight | plot -F+cTR >> $ps
  17. echo MidRight | plot -F+cMR >> $ps
  18. echo BotRight | plot -F+cBR >> $ps
  19. gmt psxy -R -J -O -T >> $ps
Tip!

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

Comments

Loading...