Re: Box-Whisker plots in IDL [message #55410 is a reply to message #55405] |
Mon, 20 August 2007 10:27   |
teich
Messages: 33 Registered: May 2007
|
Member |
|
|
On Aug 20, 1:10 pm, David Fanning <n...@dfanning.com> wrote:
> te...@atmsci.msrc.sunysb.edu writes:
>> Does anyone know of a way for IDL to make box-whisker plots? I know
>> IDL get calculate the median, but how about the 25th and 75th
>> percentiles which are needed for such a plot?
>
> See the histogram tutorial for a fast way to find the
> quartiles of a number distribution, which is what you
> will need to calculate the 25th and 75th percentiles.
> That is, the 25th percentile will be the median of the
> lower two quartiles of values, and the 75 percentile will
> be the median of the upper two quartiles.
>
> http://www.dfanning.com/tips/histogram_tutorial.html
>
> The rest is just PLOTS commands. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thanks for the info!!!
|
|
|