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

events.rst 1.8 KB

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  1. .. index:: ! events
  2. .. include:: module_core_purpose.rst_
  3. ********
  4. events
  5. ********
  6. |events_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt events** [ *table* ] |-J|\ *parameters* |SYN_OPT-Rz| |-S|\ *symbol*\ [*size*]
  11. |-T|\ *now*
  12. [ |SYN_OPT-B| ]
  13. [ |-C|\ *cpt* ]
  14. [ |-D|\ [**j**\|\ **J**]\ *dx*\ [/*dy*][**+v**\ [*pen*]] ]
  15. [ |-E|\ **s**\|\ **t**\ [**+o**\|\ **O**\ *dt*][**+r**\ *dt*][**+p**\ *dt*][**+d**\ *dt*][**+f**\ *dt*][**+l**\ *dt*] ]
  16. [ |-F|\ [**+a**\ *angle*][**+f**\ *font*][**+j**\ *justify*][**+r**\ [*first*]\|\ **z**\ [*format*]] ]
  17. [ |-G|\ *color* ]
  18. [ |-L|\ [*length*\|\ **t**] ]
  19. [ |-M|\ **i**\|\ **s**\|\ **t**\ [*val1*]\ [**+c**\ *val2*] ]
  20. [ |-Q|\ *prefix* ]
  21. [ |SYN_OPT-U| ]
  22. [ |SYN_OPT-V| ]
  23. [ |-W|\ *pen* ]
  24. [ |SYN_OPT-X| ]
  25. [ |SYN_OPT-Y| ]
  26. [ |SYN_OPT-bi| ]
  27. [ |SYN_OPT-di| ]
  28. [ |SYN_OPT-e| ]
  29. [ |SYN_OPT-f| ]
  30. [ |SYN_OPT-h| ]
  31. [ |SYN_OPT-i| ]
  32. [ |SYN_OPT-p| ]
  33. [ |SYN_OPT-qi| ]
  34. [ |SYN_OPT-:| ]
  35. [ |SYN_OPT--| ]
  36. .. include:: events_common.rst_
  37. Examples
  38. --------
  39. To show the display of events visible for May 1, 2018 given the catalog of
  40. large (>5) magnitude earthquakes that year, using a 2-day rise time during
  41. which we boost symbol size by a factor of 5 and wash out the color, followed
  42. by a decay over 6 days and then a final shrinking to half size and darken the
  43. color, we may try
  44. ::
  45. gmt begin layer
  46. gmt convert "https://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=2018-01-01%2000:00:00&endtime=2018-12-31%2000:00:00&minmagnitude=5&orderby=time-asc" \
  47. -i2,1,3,4+s50,0 -hi1 > q.txt
  48. gmt makecpt -Cred,green,blue -T0,70,300,10000
  49. gmt events -Rg -JG200/5/6i -Baf q.txt -SE- -C --TIME_UNIT=d -T2018-05-01T -Es+r2+d6 -Ms5+c0.5 -Mi1+c-0.6 -Mt+c0
  50. gmt end show
  51. See Also
  52. --------
  53. :doc:`gmt`, :doc:`gmtcolors`,
  54. :doc:`plot`,
  55. :doc:`movie`
Tip!

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

Comments

Loading...