Home > Sample Charts > Histogram > Very Plain, with Exploded Axes

Very Plain, with Exploded Axes

The Histogram does one very simple job – it takes a large sample of values and shows how they are grouped. Many samples of data turn out to follow a bell-shaped curve called the Normal distribution, but often the shape of the plot gives some useful clues which can be hidden simply by looking at statistics such as the Mean or Range.

This example is a style of histogram often seen in statistical journals. The axes have been set back from the data, and there is no shading and no decorative effects.


SharpPlot sp = new SharpPlot;

sp.Heading = "Histogram with Exploded Axes";
sp.HistogramStyle = HistogramStyles.Risers|HistogramStyles.ExplodeAxes;

sp.SetXRange(3,18);
sp.ClassInterval = 2;
sp.SetXTickMarks(2);

sp.DrawHistogram(threedice);

Worked Examples

histogram1 histogram2 histogram3 histogram4

Send comments on this topic
© Dyalog Ltd 2013