|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
DistributionChart
DistributionChart[{data1, data2, ...}]
makes a distribution chart with a distribution symbol for each
.
DistributionChart[{..., wi[datai, ...], ..., wj[dataj, ...], ...}]
makes a distribution chart with symbol features defined by the symbolic wrappers
.
DistributionChart[{{data1, data2, ...}, ...}]
makes a distribution chart from multiple groups of datasets
.
Details and OptionsDetails and Options
- DistributionChart draws a representation of the distribution of values in each
. - Data elements for DistributionChart can be given in the following forms:
-
datai a pure dataset wi[datai,...] data
with wrapper
formi->mi data with metadata 
- Each
should be a list of real numbers
. Elements
that are not real numbers are taken to be missing and are excluded. If
is not a list of real numbers, it is taken to be missing data and will typically result in a gap in the box-and-whisker chart. - Datasets for DistributionChart can be given in the following forms:
-
{data1,data2,...} list of elements with or without wrappers w[{data1,data2,...},...] wrapper applied to a grouped dataset w[{{data1,data1,...},...},...] wrapper applied to all grouped datasets - Possible symbolic wrappers are the same as for BarChart and include Style, Labeled, Legended, etc.
- DistributionChart has the same options as Graphics, with the following additions and changes:
-
AspectRatio 1/GoldenRatio overall ratio of width to height Axes True whether to draw axes BarOrigin Bottom origin placement for shapes BarSpacing Automatic fractional spacing between shapes ChartBaseStyle Automatic overall style for shapes ChartElementFunction Automatic how to generate raw graphics for shapes ChartLabels None labels for data elements and datasets ChartLayout Automatic overall layout to use ChartLegends None legends for data elements and datasets ChartStyle Automatic style for shapes LabelingFunction Automatic how to label shapes LegendAppearance Automatic overall appearance of legends Method Automatic what methods to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize ScalingFunctions None how to scale individual coordinates - Possible settings for ChartLayout include
and
. - The arguments supplied to ChartElementFunction are the box region
, the data vector
, and metadata
from each level in a nested list of datasets. - A list of built-in settings for ChartElementFunction can be obtained from
. - With ScalingFunctions->s, the data coordinate is scaled using s.
- Style and other specifications from options and other constructs in DistributionChart are effectively applied in the order ChartStyle, Style and other wrappers, and ChartElementFunction, with later specifications overriding earlier ones.
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »







