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

pen_choice.sh 1.1 KB

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
  1. #!/usr/bin/env bash
  2. # Test the -W[a|c][<pen>][+c[l|f]] option given issue #1184
  3. ps=pen_choice.ps
  4. gmt makecpt -Cjet -T-2800/-100/100 > color.cpt
  5. w="-Wa+c"
  6. gmt grdcontour -P -K -Ccolor.cpt -JS0/90/2i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R9/71.5/23.5/74r -A100 $w > $ps
  7. w="-Wa+cf"
  8. gmt grdcontour -K -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  9. w="-Wa+cl"
  10. gmt grdcontour -K -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  11. w="-Wc+c"
  12. gmt grdcontour -K -O -Ccolor.cpt -J -X-4.5i -Y3.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  13. w="-Wc+cf"
  14. gmt grdcontour -K -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  15. w="-Wc+cl"
  16. gmt grdcontour -K -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  17. w="-W+c"
  18. gmt grdcontour -K -O -Ccolor.cpt -J -X-4.5i -Y3.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  19. w="-W+cf"
  20. gmt grdcontour -K -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
  21. w="-W+cl"
  22. gmt grdcontour -O -Ccolor.cpt -J -X2.25i -B+t$w -B0 @earth_relief_10m -GlBL/TR -R -A100 $w >> $ps
Tip!

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

Comments

Loading...