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

ex05.bat 580 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. REM GMT EXAMPLE 05
  2. REM
  3. REM Purpose: Generate grid and show monochrome 3-D perspective
  4. REM GMT modules: grdmath, grdview, text, makecpt
  5. REM DOS calls: echo, del
  6. REM
  7. gmt begin ex05
  8. gmt grdmath -R-15/15/-15/15 -I0.3 X Y HYPOT DUP 2 MUL PI MUL 8 DIV COS EXCH NEG 10 DIV EXP MUL = sombrero.nc
  9. gmt makecpt -C128 -T-5,5 -N
  10. gmt grdview sombrero.nc -JX12c -JZ4c -B -Bz0.5 -BSEwnZ+t"z(r) = cos (2@~p@~r/8) @~\327@~e@+-r/10@+" -N-1+gwhite -Qs -I+a225+nt0.75 -C -R-15/15/-15/15/-1/1 -p120/30 --FONT_TITLE=50p,ZapfChancery-MediumItalic --MAP_TITLE_OFFSET=-1c
  11. del sombrero.nc
  12. gmt end show
Tip!

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

Comments

Loading...