Darwin Help

Back to Index

DrawDistribution

Function DrawDistribution


Calling Sequence  DrawDistribution(sample)
Parameters
NameTypeDescription

sample array([numeric, numeric])[mean,variance] values

anything(optional) see ?PlotArguments
Return Type  NULL
Synopsis Draws a distribution curve as a superposition of normal distributions based on [mu,sigma^2] values. Each entry in the array sample is interpreted as one distribution given by the pair [average,variance]. The results are usually stored in a file as with DrawPlot. They can be seen with ViewPlot().
Examples
> DrawDistribution( [ [0,1], [10,1], [5,10] ] );  ViewPlot();

See also BrightenColor,   ColorPalette,   DrawDotplot,   DrawGraph,   DrawHistogram,   DrawPlot,   DrawPointDistribution,   DrawStackedBar,   DrawTree,   GetColorMap,   Plot2Gif,   PlotArguments,   Set,   SmoothData,   StartOverlayPlot,   StopOverlayPlot,   ViewPlot