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

ex10.bat 833 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
  1. REM GMT EXAMPLE 10
  2. REM
  3. REM Purpose: Make 3-D bar graph on top of perspective map
  4. REM GMT modules: coast, text, plot3d, legend, makecpt, math
  5. REM
  6. gmt begin ex10
  7. gmt coast -Rd -JQ0/37.5/20c -Sazure2 -Gwheat -Wfaint -A5000 -p200/40
  8. gmt makecpt -Cpurple,blue,darkgreen,yellow,red -T0,1,2,3,4,5
  9. gmt math -T @languages_10.txt -o0-2 -C2 3 COL ADD 4 COL ADD 5 COL ADD 6 COL ADD = ^
  10. | gmt text -p -Gwhite@30 -D-0.6c/0 -F+f30p,Helvetica-Bold,firebrick=thinner+jRM+z
  11. gmt plot3d @languages_10.txt -R-180/180/-90/90/0/2500 -JZ6c -So0.75c+Z5 -C -Wthinner ^
  12. --FONT_TITLE=30p,Times-Bold --MAP_TITLE_OFFSET=-2c -p --FORMAT_GEO_MAP=dddF ^
  13. -B -Bza500+lLanguages -BWSneZ+t"World Languages By Continent"
  14. gmt legend -JZ -DjLB+o0.5c+w3.5c/0+jBL --FONT=Helvetica-Bold ^
  15. -F+glightgrey+pthinner+s-4p/-6p/grey20@40 -p @legend_10.txt
  16. gmt end show
Tip!

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

Comments

Loading...