comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Using histogram (or cghistogram) to get top X percent of distribution?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using histogram (or cghistogram) to get top X percent of distribution? [message #92631 is a reply to message #92630] Wed, 27 January 2016 06:51 Go to previous message
pfp is currently offline  pfp
Messages: 12
Registered: July 2009
Junior Member
On Wednesday, January 27, 2016 at 7:26:12 AM UTC-7, Paulo Penteado wrote:
> I have a function for that:
>
> http://www.ppenteado.net/idl/pp_lib/doc/pp_quartile.html

Ex:
IDL> a=reverse(dindgen(20))
IDL> print,pp_quartile(a,0.9d0,index=ind,sort=s)
18.000000
IDL> print,a[s[ind:-1]]
18.000000 19.000000
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: USE of IDL in cl script for iraf???
Next Topic: DIST Function - 3D

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:09:55 PDT 2025

Total time taken to generate the page: 0.92753 seconds