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

test-JXd.sh 569 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
23
24
25
26
27
28
29
  1. #!/usr/bin/env bash
  2. #
  3. basemap="gmt psbasemap --FORMAT_GEO_MAP=dddF --FONT_LABEL=16p --MAP_FRAME_AXES=WeSn"
  4. plot1 () {
  5. $basemap -R -JX$1 -Bx20f10g20+lLongitude -By20f10g20+lLatitude -O -K $2
  6. annot $1
  7. }
  8. annot () {
  9. gmt psxy -R -J -O -K -W2p,red -Gyellow <<%
  10. -40 0
  11. 40 0
  12. 40 -40
  13. -40 -40
  14. %
  15. gmt pstext -R -J -F+f20p,Helvetica-Bold+jBC -O -K <<< "0 2 -JX$1"
  16. }
  17. ps=test-JXd.ps
  18. gmt psxy -T -R-60/60/-60/60 -JX8c/8c -K -X4c -Y13c > $ps
  19. plot1 8c/8c >> $ps
  20. plot1 8cd/8c -X12c >> $ps
  21. plot1 8c/8cd -Y-11c >> $ps
  22. plot1 8cd/8cd -X-12c >> $ps
  23. gmt psxy -T -R -J -O >> $ps
Tip!

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

Comments

Loading...