add UnicodeEngine (MultiEngineText and axis texters returning MultiEngineText), texte...
[PyX.git] / examples / graphstyles / histogram.txt
blob6f6cf5e1b045052ca7ca49a0beb073e3fe739e72
1 Creating a histogram
3 Styles can alter the way data is presented in arbitrary ways. Here the
4 histogram style is used to generate a histogram. ... By default the histogram
5 draws a box for each histogram value, but you can set the `step` parameter of
6 the histogram style to use steps instead.
8 ! In this basic use-case the histogram is calculated out of equal-spaced
9 x-values automatically. You can also use errorbar like data in one graph
10 dimension to generate histograms with different widths of the histogram boxes.
12 ! Note that a histogram is very different from a bar graph in that it uses
13 regular axes (like the default linear axes in this example) in both graph
14 dimensions. Instead, bar graphs use a discrete axis.