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

gspline_2.sh 727 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
  1. #!/bin/bash
  2. #
  3. # $Id$
  4. ps=gspline_2.ps
  5. # Figure 3 in Wessel, P. (2009), A general-purpose Green's function-based
  6. # interpolator, Computers & Geosciences, 35, 1247-1254.
  7. D=0.05
  8. R=0/7.2/-0.2/7
  9. T=${GMT_SOURCE_DIR}/doc/examples/ex12/table_5.11
  10. gmt greenspline -R$R -I$D -GWB1998.grd $T -St0.5 -D1
  11. gmt greenspline -R$R -I$D -GMM1993.grd $T -Sr0.99 -D1
  12. gmt surface $T -R$R -I$D -Graws5.grd -T0.5 -N10000 -C0.0000001
  13. gmt grdcontour -R raws5.grd -Jx0.9i -P -K -C25 -A50+jCB+n0/0.1c -Ba2f1 -BWSne -Y2i -GlLB/CT > $ps
  14. gmt grdcontour -R WB1998.grd -J -O -K -C25 -A50+jCB+n0/0.1c -Wa0.75p,- -Wc0.25p,- -GlCT/RB >> $ps
  15. gmt grdcontour -R MM1993.grd -J -O -K -C25 -Wa0.75p,. -Wc0.25p,. >> $ps
  16. gmt psxy -R -J -O $T -Sc0.1 -G0 >> $ps
Tip!

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

Comments

Loading...