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

rendering.sh 621 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  1. #!/bin/bash
  2. #
  3. # $Id$
  4. ps=rendering.ps
  5. gmt xyz2grd -R0/360/0/90 -r -I60/30 -Gt.nc <<%
  6. #30 45 -1
  7. 90 15 -1
  8. 30 75 0
  9. 90 45 0
  10. 150 15 0
  11. 90 75 1
  12. 150 45 1
  13. 210 15 1
  14. 150 75 0
  15. 210 45 0
  16. 270 15 0
  17. 210 75 -1
  18. 270 45 -1
  19. 330 15 -1
  20. 270 75 0
  21. 330 45 0
  22. #
  23. 30 15 0
  24. 330 75 -1
  25. %
  26. render () {
  27. gmt grdimage -R -JW0/6i -Bx60 -By30 t.nc -Ct.cpt -E100 -O -K $*
  28. gmt pstext -R -J -F+f16p,Helvetica-Bold+jBL -O -K -N <<< "180 35 $1"
  29. }
  30. gmt makecpt -Cpolar -T-1/1/0.5 -Z -D > t.cpt
  31. gmt psscale -D3i/-0.4i/6i/0.4ih -Ct.cpt -P -K -Y2i > $ps
  32. render -nn >> $ps
  33. render -nl -Y2i >> $ps
  34. render -nb -Y2i >> $ps
  35. render -nc -Y2i >> $ps
  36. gmt psxy -R -J -T -O >> $ps
Tip!

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

Comments

Loading...