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

cpthinges.sh 1.7 KB

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
  1. #!/usr/bin/env bash
  2. # Test various effects of soft hinges with use selection
  3. gmt begin cpthinges ps
  4. # No hinge selected, discrete CPT
  5. gmt makecpt -Cpolar -T100/300/20
  6. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  7. # No hinge selected, continuous CPT
  8. gmt makecpt -Cpolar -T100/300
  9. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  10. # hinge selected at z=0 which is outside range so only use top half - discrete CPT
  11. gmt makecpt -Cpolar+h -T100/300/20
  12. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  13. # hinge selected at z=0 which is outside range so only use top half - continuous CPT
  14. gmt makecpt -Cpolar+h -T100/300
  15. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  16. # hinge selected at z=200 becoming a hard hinge - discrete CPT
  17. gmt makecpt -Cpolar+h200 -T100/300/20
  18. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  19. # hinge selected at z=200 becoming a hard hinge - continuous CPT
  20. gmt makecpt -Cpolar+h200 -T100/300
  21. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  22. # hinge selected at z=150 becoming a hard hinge - discrete CPT
  23. gmt makecpt -Cpolar+h150 -T100/300/20
  24. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  25. # hinge selected at z=150 becoming a hard hinge - continuous CPT
  26. gmt makecpt -Cpolar+h150 -T100/300
  27. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  28. # hinge selected at z=-50 becoming a hard hinge - discrete CPT
  29. gmt makecpt -Cpolar+h-50 -T-100/100/10
  30. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  31. # hinge selected at z=-50 becoming a hard hinge - continuous CPT
  32. gmt makecpt -Cpolar+h-50 -T-100/100
  33. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  34. # hinge selected at z=50 becoming a hard hinge - discrete CPT
  35. gmt makecpt -Cpolar+h50 -T-100/100/10
  36. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  37. # hinge selected at z=50 becoming a hard hinge - continuous CPT
  38. gmt makecpt -Cpolar+h50 -T-100/100
  39. gmt colorbar -Baf -Dx0/0+w16c+h -Y2c
  40. gmt end show
Tip!

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

Comments

Loading...