| |||||
Introducing SharpPlot Your First Chart Recent Updates Tutorials General Tutorials Chart Tutorials Reference SharpPlot Class Properties Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Home > Sample Charts > Histogram > Very Plain, with Exploded Axes Very Plain, with Exploded AxesThe 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 |