Re: Starting location in histoplot? [message #76578] |
Mon, 13 June 2011 15:38 |
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.")
|
|
|