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

rose_mag2.sh 815 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
  1. #!/usr/bin/env bash
  2. # Testing map directional roses for magnetics
  3. ps=rose_mag2.ps
  4. gmt set FONT_ANNOT_PRIMARY 9p FONT_ANNOT_SECONDARY 12p FONT_LABEL 14p FONT_TITLE 24p \
  5. MAP_TITLE_OFFSET 7p MAP_ANNOT_OBLIQUE lon_horizontal,lat_parallel MAP_FRAME_WIDTH 3p \
  6. MAP_VECTOR_SHAPE 0.5 MAP_TICK_PEN_SECONDARY thinner,red MAP_TICK_PEN_PRIMARY thinner,blue
  7. # 2nd row: Magnetic rose with a specified declination
  8. gmt psbasemap -R-10/-2.5/10/2.5r -JOc0/0/50/60/5.8i -Baf -BWSne -P -K -X1.25i --FONT_ANNOT_PRIMARY=12p > $ps
  9. gmt psbasemap -R -J -Tmg0/0+w2.5i+d-14.5+t45/10/5+i0.25p+p0.5p+l+jCM -O -K >> $ps
  10. # 1st row: Magnetic rose with unspecified declination
  11. gmt psbasemap -R -J -Baf -BWsne -O -K -Y4.7i --FONT_ANNOT_PRIMARY=12p >> $ps
  12. gmt psbasemap -R -J -Tmg0/0+w2.5i+t45/10/5+l+jCM -O --MAP_TICK_LENGTH_PRIMARY=8p/4p >> $ps
Tip!

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

Comments

Loading...