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

histogram.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
68
69
70
71
72
73
74
75
76
77
78
79
80
  1. .. index:: ! histogram
  2. .. include:: module_core_purpose.rst_
  3. ***********
  4. histogram
  5. ***********
  6. |histogram_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt histogram** [ *table* ] |-J|\ **x**\|\ **X**\ *parameters*
  11. |-T|\ [*min/max*\ /]\ *inc*\ [**+n**] \|\ |-T|\ *file*\|\ *list*
  12. [ |-A| ]
  13. [ |SYN_OPT-B| ]
  14. [ |-C|\ *cpt* ]
  15. [ |-D|\ [**+b**][**+f**\ *font*][**+o**\ *off*][**+r**] ]
  16. [ |-F| ]
  17. [ |-G|\ *fill* ] [ |-J|\ **z**\|\ **Z**\ *parameters* ]
  18. [ |-I|\ [**o**\|\ **O**] ]
  19. [ |-L|\ **l**\|\ **h**\|\ **b**] ]
  20. [ |-N|\ [*mode*][**+p**\ *pen*] ]
  21. [ |-Q|\ **r** ]
  22. [ |SYN_OPT-R| ]
  23. [ |-S| ]
  24. [ |SYN_OPT-U| ]
  25. [ |SYN_OPT-V| ]
  26. [ |-W|\ *pen* ]
  27. [ |SYN_OPT-X| ]
  28. [ |SYN_OPT-Y| ]
  29. [ |-Z|\ [*type*][**+w**] ]
  30. [ |SYN_OPT-bi| ]
  31. [ |SYN_OPT-di| ]
  32. [ |SYN_OPT-e| ]
  33. [ |SYN_OPT-f| ]
  34. [ |SYN_OPT-h| ]
  35. [ |SYN_OPT-i| ]
  36. [ |SYN_OPT-p| ]
  37. [ |SYN_OPT-qi| ]
  38. [ |SYN_OPT-t| ]
  39. [ |SYN_OPT--| ]
  40. .. include:: histogram_common.rst_
  41. Examples
  42. --------
  43. .. include:: explain_example.rst_
  44. .. include:: oneliner_info.rst_
  45. To draw a histogram of the remote data v3206_06.t containing seafloor depths,
  46. using a 250 meter bin width, center bars, and draw bar outline, use:
  47. ::
  48. gmt histogram @v3206_06.txt -F -T250 -W0.25p -B -pdf plot
  49. If you know the distribution of your data, you may explicitly specify
  50. range and scales. E.g., to plot a histogram of the y-values (2nd column)
  51. in the file errors.xy using a 1 meter bin width, plot from -10 to +10
  52. meters @ 0.75 cm/m, annotate every 2 m and 100 counts, and use black
  53. bars, run:
  54. ::
  55. gmt histogram errors.xy -T1 -R-10/10/0/0 -Jxc/0.01c -Bx2+lError -By100+lCounts -Gblack -i1 -V -pdf plot
  56. Since no y-range was specified, **histogram** will calculate *ymax* in even
  57. increments of 100.
  58. See Also
  59. --------
  60. :doc:`gmt`, :doc:`gmtcolors`,
  61. :doc:`basemap`, :doc:`rose`,
  62. :doc:`plot`
Tip!

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

Comments

Loading...