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

transparency.sh 407 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
  1. #!/usr/bin/env bash
  2. # Address issue #1126. Should be fixed.
  3. ps=transparency.ps
  4. gmt xyz2grd -R0/2/0/2 -I1/1 -Gtest.grd << EOF
  5. 0 0 0
  6. 1 0 1
  7. 2 0 0
  8. 0 1 1
  9. 1 1 2
  10. 2 1 1
  11. 0 2 0
  12. 1 2 1
  13. 2 2 0
  14. EOF
  15. echo "0 red 2 blue" > test.cpt
  16. gmt grdimage test.grd -Ctest.cpt -JX6i -Baf -BseWN -P -K -Xc > $ps
  17. gmt grdcontour -A+1+c50%+f36p,Times-Bold,white@50+o+p2p,green@20+gblack@60 -Gl0/0/2/2 test.grd -J -W2p,magenta@100 -O >> $ps
Tip!

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

Comments

Loading...