New in Wolfram
Mathematica
8: Statistical Visualization
◄
previous
|
next
►
Graphics & Visualization
Annotate Binned Density Histograms with Marginal Distributions
Show marginal distributions for bivariate data with data rugs, box-and-whiskers, and histograms.
In[1]:=
X
Grid@Partition[ MapThread[ DensityHistogram[RandomVariate[NormalDistribution[0, 1], {200, 2}], Method -> {"DistributionAxes" -> #}, ColorFunction -> #2, ImageSize -> 250, BaseStyle -> {FontFamily -> "Helvetica"}, LabelStyle -> Bold] &, {{None, True, "BoxWhisker", "Histogram"}, {Automatic, "CoffeeTones", "RustTones", "AlpineColors"}}], 2]
Out[1]=