|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
SmoothDensityHistogram
SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}]
plots a smooth kernel histogram of the values
.
SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}, espec]
plots a smooth kernel histogram with estimator specification espec.
SmoothDensityHistogram[{{x1, y1}, {x2, y2}, ...}, espec, dfun]
plots the distribution function dfun.
Details and OptionsDetails and Options
- SmoothDensityHistogram[data] by default generates colorized grayscale output of the PDF of
, based on 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 - SmoothDensityHistogram has the same Graphics with the following additions and changes:
-
AspectRatio 1 ratio of height to width BoundaryStyle None how to draw RegionFunction boundaries BoxRatios Automatic effective 3D bounding box ratios ClippingStyle None how to draw values clipped by PlotRange ColorFunction Automatic how to color the plot ColorFunctionScaling True whether to scale the argument to ColorFunction Frame True whether to draw a frame around the plot FrameTicks Automatic frame tick marks LightingAngle None effective angle of the simulated light source MaxRecursion Automatic the maximum number of recursive subdivisions allowed Mesh None how many mesh lines to draw MeshShading Automatic how to shade regions between mesh lines MeshStyle Automatic the style for mesh lines Method Automatic the method to use for refining the plot PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotPoints Automatic the initial number of sample points for the function in each direction PlotRange Automatic the range of f or other values to include PlotRangeClipping True whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values RegionFunction (True&) how to determine whether a point should be included ScalingFunctions None how to scale individual coordinates WorkingPrecision MachinePrecision the precision used in internal computations - ColorFunction is supplied with a single argument, given by default by the scaled value of f, the PDF, CDF, etc. of the distribution.
- The arguments supplied to RegionFunction are x, y, and f, where f can be the PDF, CDF, etc. of the distribution.
- With the setting MeshShading->Automatic, the colors between mesh lines are computed from the ColorFunction setting.
- With ScalingFunctions->{sx, sy, sz}, the
coordinate is scaled using
, the
coordinate is scaled using
and the
coordinate is scaled using
.
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






