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

equalarea.sh 537 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
  1. #!/usr/bin/env bash
  2. #
  3. # Test using the cumulative density function to create an equal-area
  4. # CPT for a chunk of the word.
  5. gmt begin equalarea ps
  6. gmt set MAP_FRAME_TYPE plain
  7. gmt grdcut -R0/90/0/45 @earth_relief_05m -Gtmp.grd
  8. gmt subplot begin 2x1 -Fs16c/11c -BWSrt -M6p -T"CPT Equalization" -Y0.5i
  9. gmt subplot set 0
  10. gmt grd2cpt tmp.grd -E11
  11. gmt grdimage tmp.grd -JM?
  12. gmt colorbar -DJTC -Baf
  13. gmt subplot set 1
  14. gmt grd2cpt tmp.grd -E11+c+fcdf.txt
  15. gmt grdimage tmp.grd -JM?
  16. gmt colorbar -DJTC -Baf
  17. gmt subplot end
  18. gmt end show
Tip!

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

Comments

Loading...