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

autocolorpols.sh 392 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
  1. #!/usr/bin/env bash
  2. # Test auto-color sequencing for fill via CPT or color list
  3. cat << EOF > p.txt
  4. >
  5. 0 0
  6. 1 0
  7. 1 1
  8. 0 1
  9. >
  10. 1 1
  11. 2 1
  12. 2 2
  13. 1 2
  14. >
  15. 2 2
  16. 3 2
  17. 3 3
  18. 2 3
  19. >
  20. 3 3
  21. 4 3
  22. 4 4
  23. 3 4
  24. >
  25. 4 4
  26. 5 4
  27. 5 5
  28. 4 5
  29. EOF
  30. gmt begin autocolorpols ps
  31. gmt subplot begin 2x1 -Fs10c -R-1/6/-1/6 -Sc -Sr -Blrbt
  32. gmt plot p.txt -Gauto -c
  33. gmt plot p.txt -Gauto@50 -c --COLOR_SET=red,green,blue
  34. gmt subplot end
  35. gmt end show
Tip!

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

Comments

Loading...