Histogram Command

From GeoGebra Manual
Revision as of 13:28, 6 November 2010 by K Voss (talk | contribs) (create official page from pdf)
Jump to: navigation, search


Histogram[List of Class Boundaries, List of Heights]
Creates a histogram with bars of the given heights. The class boundaries determine the width and position of each bar of the histogram.
Example: Histogram[{0, 1, 2, 3, 4, 5}, {2, 6, 8, 3, 1}] creates a histogram with 5 bars of the given heights. The first bar is positioned at the interval [0, 1], the second bar is positioned at the interval [1, 2], and so on.
Histogram[List of Class Boundaries, List of Raw Data]
Creates a histogram using the raw data. The class boundaries determine the width and position of each bar of the histogram and are used to determine how many data elements lie in each class.
Example: Histogram[{1, 2, 3, 4},{1.0, 1.1, 1.1, 1.2, 1.7, 2.2, 2.5, 4.0}] creates a histogram with 3 bars, with the heights 5 (first bar), 2 (second bar), and 1 (third bar).
© 2024 International GeoGebra Institute