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

bar3dmultimode.sh 530 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. # Test flat 2-D multiband bars in 3-D view
  3. cat << EOF > testy.txt
  4. 1 2 0 5 3 8
  5. 2 1 0 6 1 5
  6. EOF
  7. cat << EOF > testx.txt
  8. 2 1 0 5 3 8
  9. 1 2 0 6 1 5
  10. EOF
  11. gmt begin bar3dmultimode ps
  12. gmt makecpt -Cjet -T0/4/1
  13. gmt subplot begin 2x1 -Fs10c
  14. gmt plot3d testy.txt -R0/3/0/25 -C -W1p -Sb0.5c+i4+B2 -p135/35 -c
  15. printf "0 2 0\n3 2 0\n" | gmt plot3d -W0.25p,dashed -p
  16. gmt plot3d testx.txt -R0/25/0/3 -C -W1p -SB0.5c+B2+i4 -p135/35 -c
  17. printf "2 0 0\n2 3 0\n" | gmt plot3d -W0.25p,dashed -p
  18. gmt subplot end
  19. gmt end show
Tip!

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

Comments

Loading...