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 #67702 is a reply to message #44556] Tue, 11 August 2009 10:17 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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: Fri Oct 10 06:17:40 PDT 2025

Total time taken to generate the page: 0.40219 seconds