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

Home » Public Forums » archive » Re: Starting location in histoplot?
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: Starting location in histoplot? [message #76578] Mon, 13 June 2011 15:38
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
TimB writes:

> I'm trying to compare two different samples using the histoplot
> command. My problem is that the two different histograms (sample 1 and
> sample 2) are slightly offset from each other. This is due to the two
> samples having slightly different minimum values. I'm plotting from
> 0-100, in one sample the minimum value is say 1 and in the other its
> say 3. If I set the binsize to 5 for both, the first histogram
> location is 1-6 while the second is 3-8. I would like these to be the
> same, by specifying an initial starting point of 0. So for both sets
> the first bin goes from 0-5. Is this possible? I've noticed in the
> histoplot documentation there is an output keyword LOCATIONS which
> tells the starting location of each bin but I haven't found anything
> to set the location of the first bin.

Use the same MININPUT keyword on both of your cgHistoplot
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 thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Previous Topic: cgPlot: /ISOTROPIC clobbers POSITION
Next Topic: WShow Miracle -- Or Not

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

Current Time: Fri Oct 10 10:01:56 PDT 2025

Total time taken to generate the page: 1.59796 seconds