|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
PairedSmoothHistogram
PairedSmoothHistogram[{x1, x2, ...}, {y1, y2, ...}]
plots a paired smooth histogram of the values
and
.
PairedSmoothHistogram[{x1, x2, ...}, {y1, y2, ...}, espec]
plots a paired smooth histogram with estimator specification espec.
PairedSmoothHistogram[{x1, x2, ...}, {y1, y2, ...}, espec, dfun]
plots a paired smooth histogram with distribution function dfun.
PairedSmoothHistogram[{data11, ...}, {data21, ...}, ...]
plots paired smooth histograms for multiple datasets
and
.
Details and OptionsDetails and Options
- PairedSmoothHistogram[data1, data2] by default plots a paired smooth histogram of the PDF of
and
using a smooth kernel density estimate. - The estimator specification espec can be of the form bw or
. - The specifications for bandwidth bw and kernel are the same as for SmoothKernelDistribution.
- Possible distribution functions dfun include:
-
"PDF" probability density function "CDF" cumulative distribution function "SF" survival function "HF" hazard function "CHF" cumulative hazard function - The form
provides a wrapper w to be applied to the resulting graphics primitives. - The following wrappers can be used:
-
Annotation[e,label] provide an annotation Button[e,action] define an action to execute when the element is clicked EventHandler[e,...] define a general event handler for the element Hyperlink[e,uri] make the element act as a hyperlink PopupWindow[e,cont] attach a popup window to the element StatusArea[e,label] display in the status area when the element is moused over Style[e,opts] show the element using the specified styles Tooltip[e,label] attach an arbitrary tooltip to the element - PairedSmoothHistogram has the same options as Graphics with the following additions and changes:
-
AspectRatio 1/GoldenRatio ratio of width to height Axes True whether to draw axes ClippingStyle None what to draw where curves are clipped ColorFunction Automatic how to determine the coloring of curves ColorFunctionScaling True whether to scale arguments to ColorFunction Filling None filling to insert under each curve FillingStyle Automatic style to use for filling MaxRecursion Automatic the maximum number of recursive subdivisions allowed Mesh None how many mesh points to draw on each curve MeshFunctions {#1&} how to determine the placement of mesh points MeshShading None how to shade regions between mesh points MeshStyle Automatic the style for mesh points Method Automatic methods to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotPoints Automatic initial number of sample points PlotRange Automatic range of values to include PlotRangeClipping True whether to clip at the plot range PlotStyle Automatic graphics directives to specify the style for each object RegionFunction (True&) how to determine whether a point should be included ScalingFunctions None how to scale individual coordinates Spacings Automatic space between plot axes WorkingPrecision MachinePrecision the precision used in internal computations for symbolic distributions - Possible settings for PlotOrigin include
and
. - Settings for Spacings are in absolute coordinates. A setting of the form Scaled[s] gives spacing that is a fraction s of the graphic.
- The arguments supplied to RegionFunction, MeshFunctions, and ColorFunction are x and f, where f can be the PDF, CDF, etc. of the distribution.
- With ScalingFunctions->{sx, sy}, the
coordinate is scaled using
and the
coordinate is scaled using
.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






