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

autocolorline.sh 678 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
  1. #!/usr/bin/env bash
  2. # Test auto pen color in panels and make sure ID is reset for each panel
  3. cat << EOF > lines.txt
  4. >
  5. 1 1
  6. 9 3
  7. >
  8. 1 2
  9. 9 4
  10. >
  11. 1 3
  12. 9 5
  13. >
  14. 1 4
  15. 9 6
  16. >
  17. 1 5
  18. 9 7
  19. EOF
  20. gmt begin autocolorline ps
  21. gmt set MAP_FRAME_TYPE plain COLOR_SET=red,green,blue
  22. gmt subplot begin 3x3 -Fs5c/7c -A1 -M6p -R0/10/0/8 -BWSen
  23. gmt plot lines.txt -W1p,auto -c
  24. gmt plot lines.txt -W1p,auto -c
  25. gmt plot lines.txt -W1p,auto -c
  26. gmt plot lines.txt -W1p,auto -c
  27. gmt plot lines.txt -W1p,auto -c
  28. gmt plot lines.txt -W1p,auto -c
  29. gmt plot lines.txt -W1p,auto -c
  30. gmt plot lines.txt -W1p,auto -c
  31. gmt plot lines.txt -W1p,auto -c
  32. gmt subplot end
  33. gmt end show
Tip!

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

Comments

Loading...