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

histlegend.sh 383 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
  1. #!/usr/bin/env bash
  2. # Test auto-legend for histogram and add in a single plot call as well
  3. gmt begin histlegend ps
  4. gmt convert hist.txt -i0+o-1.5 > shift.txt
  5. gmt histogram -R2/7/0/10 hist.txt -T0.2 -B -BWSrt -Gred@50 -W0.5p -l"Grapefruit"
  6. gmt histogram shift.txt -T0.2 -B -Ggreen@50 -W0.5p -l"Kiwifruit"
  7. echo 3.7 9.25 | gmt plot -Si0.5c -Gorange -W0.25p -l"Maximum"
  8. gmt end show
Tip!

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

Comments

Loading...