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

Home » Public Forums » archive » Histogram
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 [message #67697 is a reply to message #44556] Wed, 12 August 2009 04:00 Go to previous messageGo to previous message
rinceboy is currently offline  rinceboy
Messages: 5
Registered: March 2009
Junior Member
Won't including a max and min unrealisticaly skew the histogram by
introducing false data? e.g. the first dataset ranges between (-50:22)
and the second between (-70:24). By using teh same max and min, say
-70 and 24 then you're biasing both histograms


On Aug 11, 6:17 pm, David Fanning <n...@dfanning.com> wrote:
> rinceboy writes:
>> I'm using IDL to make and overplot histograms of temperature. I create
>> the first histogram from my first dataset and plot it. Then I overplot
>> another histogram from the second dataset. I use a common binsize of 5
>> degreesK for both. My problem is that the bin-bounds don't align e.g.
>> for my first histogram, say, a 5K bin is aligned between 20-25K,
>> however for the second dataset the 5K bin is aligned between 22-27K.
>
>> My question is: how to I have a common bin-alignment between the two
>> datasets?
>
> Set the MIN and MAX keywords on the two HISTOGRAM
> commands to the same values.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: convolution of vsini
Next Topic: Reading CDF files on a Mac

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

Current Time: Wed Oct 08 13:59:31 PDT 2025

Total time taken to generate the page: 0.00456 seconds