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

psevents_functions.sh 861 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
  1. #!/usr/bin/env bash
  2. # Test the 4 time-functions in psevents for some settings
  3. # Note event duration becomes sum of rise, plateau, decay times = 3
  4. # We run undocumented psevents -/ to get the functions for an event at t = 0.
  5. gmt begin psevents_functions ps
  6. gmt events -/ -Es+r1+p1+d1+f1 -Ms1.5+c0.5 -Mi1+c-0.2 -Mt1+c0 -Mz0.8+c-0.4
  7. # Plot the four curves
  8. gmt subplot begin 4x1 -R-2/5/-0.5/1.5 -Fs16c/6c -Bxafg10 -Byafg1 -A -T"-Es+r1+p1+d1+f1 -Ms1.5+c0.5 -Mi1+c-0.2 -Mt1+c0 -Mz0.8+c-0.4" --FONT_HEADING=16p
  9. gmt subplot set 0 -A"size"
  10. gmt plot psevents_function.txt -i0,1 -W3p,red
  11. gmt subplot set 1 -A"intensity"
  12. gmt plot psevents_function.txt -i0,2 -W3p,red
  13. gmt subplot set 2 -A"transparency"
  14. gmt plot psevents_function.txt -i0,3 -W3p,red
  15. gmt subplot set 3 -A"delta z"
  16. gmt plot psevents_function.txt -i0,4 -W3p,red
  17. gmt subplot end
  18. gmt end show
Tip!

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

Comments

Loading...