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

Home » Public Forums » archive » Re: histogram, how to trasfer from linear bins to logarithmic bin?
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: histogram, how to trasfer from linear bins to logarithmic bin? [message #68177 is a reply to message #68176] Tue, 29 September 2009 14:33 Go to previous messageGo to previous message
JDS is currently offline  JDS
Messages: 94
Registered: March 2009
Member
On Sep 28, 6:54 pm, David Fanning <n...@dfanning.com> wrote:
> Gavin Ge writes:
>> HI, I have a question that now I get a set of datas, which are
>> linearly binned into the histogram, but how to transfer it into a
>> logarithmic bins?
>
> Here is one way to create a histogram with logarithmic
> bins:
>
>   http://www.dfanning.com/code_tips/logbins.html

This would better be described as a way to create a histogram using
any arbitrary bins of your own devising; pretty cool indeed, since you
can design those bins in whatever way is useful. It does require you
to sort your array beforehand, and so in this case would be less
efficient than just taking the histogram of the log of your data.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Probably a really simple read_ascii quesion....
Next Topic: Polynomial Fitting question

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

Current Time: Sat Oct 11 10:57:12 PDT 2025

Total time taken to generate the page: 1.35839 seconds