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

psrose.rst 2.4 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
  1. .. index:: ! psrose
  2. .. include:: module_core_purpose.rst_
  3. ******
  4. psrose
  5. ******
  6. |psrose_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt psrose** [ *table* ] [ |-A|\ *sector_width*\ [**+r**] ]
  11. [ |SYN_OPT-B| ]
  12. [ |-C|\ **m**\|\ [**+w**]\ *mode_file* ]
  13. [ |-D| ]
  14. [ |-F| ]
  15. [ |-G|\ *fill* ] [ |-I| ]
  16. [ |-J|\ **X**\ *diameter* ]
  17. [ |-K| ]
  18. [ |-L|\ [*wlabel*\ ,\ *elabel*\ ,\ *slabel*\ ,\ *nlabel*] ]
  19. [ |-M|\ *parameters* ]
  20. [ |-O| ] [ |-P| ]
  21. [ |-Q|\ *alpha* ]
  22. [ |-R|\ *r0*/*r1*/*az0*/*az1* ]
  23. [ |-S| ]
  24. [ |-T| ]
  25. [ |SYN_OPT-U| ]
  26. [ |SYN_OPT-V| ]
  27. [ |-W|\ [**v**]\ *pen* ]
  28. [ |SYN_OPT-X| ]
  29. [ |SYN_OPT-Y| ]
  30. [ |-Z|\ **u**\|\ *scale* ]
  31. [ |SYN_OPT-bi| ]
  32. [ |SYN_OPT-di| ]
  33. [ |SYN_OPT-e| ]
  34. [ |SYN_OPT-h| ]
  35. [ |SYN_OPT-i| ]
  36. [ |SYN_OPT-p| ]
  37. [ |SYN_OPT-qi| ]
  38. [ |SYN_OPT-t| ]
  39. [ |SYN_OPT-:| ]
  40. [ |SYN_OPT--| ]
  41. .. include:: rose_common.rst_
  42. .. include:: common_classic.rst_
  43. Examples
  44. --------
  45. .. include:: explain_example.rst_
  46. To plot a half circle rose diagram of the data in the file
  47. fault_segments.az_r (containing pairs of (azimuth, length in meters),
  48. using a 10 degree bin sector width, on a circle of diameter = 6 inch, grid
  49. going out to radius = 150 km in steps of 25 km with a 30 degree sector
  50. interval, radial direction annotated every 50 km, using a light blue
  51. shading outlined by a solid red pen (width = 0.75 points), draw the mean
  52. azimuth, and shown in Portrait orientation, use:
  53. ::
  54. gmt psrose fault_segments.az_r -R0/150/-90/90 -Bx50g25+l"Fault length"
  55. -Byg30 -B+t"Rose diagram" -JX6i -A10+r -Glightblue
  56. -W0.75p,red -Z0.001 -Cm -P -T -: > half_rose.ps
  57. To plot a full circle wind rose diagram of the data in the file
  58. lines.r_az, on a circle of diameter = 10 cm, grid going out to radius =
  59. 500 units in steps of 100 with a 45 degree sector interval, using a
  60. solid pen (width = 0.5 point, and shown in landscape [Default]
  61. orientation with UNIX timestamp and command line plotted, use:
  62. ::
  63. gmt psrose lines.az_r -R0/500/0/360 -JX10c -Bxg100 -Byg45 -B+t"Windrose diagram" -W0.5p -U+c | lpr
  64. Redo the same plot but this time add orange vector heads to each direction (with nominal head size
  65. 0.5 cm but this will be reduced linearly for lengths less than 1 cm) and save the plot, use:
  66. ::
  67. gmt psrose lines.az_r -R0/500/0/360 -JX10c -Bxg100 -Byg45 -B+t"Windrose diagram" -M0.5c+e+gorange+n1c -W0.5p -U+c > rose.ps
  68. .. include:: rose_notes.rst_
  69. See Also
  70. --------
  71. :doc:`gmt`, :doc:`gmt.conf`,
  72. :doc:`gmtcolors`, :doc:`pshistogram`
Tip!

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

Comments

Loading...