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

GMT_cycle_4.sh 573 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. #!/usr/bin/env bash
  2. # Demonstration of -w through a series of cycle plots
  3. # This one shows how to apply wrapping to the y-coordinate
  4. gmt begin GMT_cycle_4
  5. gmt set GMT_THEME cookbook
  6. gmt subplot begin 1x2 -Fs8c/10c -BWSrt -T"Mississippi river annual discharge" -A+jTR
  7. gmt plot @mississippi.txt -i1+s1e-3,0 -R0/50/0/1 -W0.25p,blue -Byaf+l"Normalized year" -Bxaf+l"10@+3@+ m@+3@+/s" -wy+c1 -c
  8. gmt histogram @mississippi.txt -R-3/9/0/8 -T1 -Gblue -W1p -Bxaf -Byaf+l"10@+6@+ m@+3@+/s" -Z0+w -i0,1+s1e-6 -A -wa -c --FORMAT_TIME_PRIMARY_MAP=a
  9. gmt subplot end
  10. gmt end show
Tip!

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

Comments

Loading...