MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Density plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59590] Re: Density plot
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Sat, 13 Aug 2005 03:26:18 -0400 (EDT)
  • References: <ddh91k$cac$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use Histogram. Here is an example:

<<Graphics`Graphics`

data={-2,-1,-1,0,0,0,0,0,1,1,2};

Histogram[data]

There are various options that can be used to control how Histogram behaves. 
See the documentation.

Steve Luttrell

"malghara" <malghara at gmail.com> wrote in message 
news:ddh91k$cac$1 at smc.vnet.net...
> Hi All
>
> If i have a sequency of values say {x1,x2,.....xn}. How do i plot the
> probability distribution of these values. In other words, i would like
> to obtain an estimate of the probability density function and plot it.
>
> Thanks
> Mishal
> 



  • Prev by Date: Re: Units, simplification
  • Next by Date: Re: gradient in ParametricPlot
  • Previous by thread: Re: Density plot
  • Next by thread: Re: Density plot