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

ex16.bat 992 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
  1. REM GMT EXAMPLE 16
  2. REM
  3. REM Purpose: Illustrates interpolation methods using same data as Example 12.
  4. REM GMT modules: gmtset, grdview, grdfilter, contour, colorbar, surface, triangulate
  5. REM DOS calls: del
  6. REM
  7. gmt begin ex16
  8. gmt set FONT_ANNOT_PRIMARY 9p FONT_TITLE 18p,Times-Roman
  9. gmt subplot begin 2x2 -M0.1c -Fs8c/0 -R0/6.5/-0.2/6.5 -Jx1c -SCb -SRl+t -Bwesn -T"Gridding of Data"
  10. gmt surface @Table_5_11.txt -I0.2 -Graws0.nc
  11. gmt contour @Table_5_11.txt -C@ex_16.cpt -I -B+t"contour (triangulate)" -c0,0
  12. gmt grdview raws0.nc -C@ex_16.cpt -Qs -B+t"surface (tension = 0)" -c0,1
  13. gmt surface @Table_5_11.txt -Graws5.nc -T0.5
  14. gmt grdview raws5.nc -C@ex_16.cpt -Qs -B+t"surface (tension = 0.5)" -c1,0
  15. gmt triangulate @Table_5_11.txt -Grawt.nc
  16. gmt grdfilter rawt.nc -Gfiltered.nc -D0 -Fc1
  17. gmt grdview filtered.nc -C@ex_16.cpt -Qs -B+t"triangulate @~\256@~ grdfilter" -c1,1
  18. gmt subplot end
  19. gmt colorbar -DJBC -C@ex_16.cpt
  20. gmt end show
  21. del raws0.nc raws5.nc rawt.nc filtered.nc
Tip!

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

Comments

Loading...