Re: dual histogram stumper [message #33295] |
Mon, 16 December 2002 14:21  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
paul wisehart (paul_wisehart@ssaihq.com) writes:
> I have 2 histograms ... A and B
> A=histogram(a) B=histogram(b)
> they have same xrange, but different yrange.
>
> I have the ratio of the n_elements(a)/n_elements(b)
>
> NOW, I want to plot them on top of each other so they
> are normalized.
> AND, the left y-axis shows A's range,
> the right axis shows B's range.
>
> I can achieve most of the objectives if I :
> (1) plot A
> (2) normalize B
> (3) oplot B
>
> the problem is this leaves out B's y-axis.
>
> instead of normalizing B , I want to normalize B's plot.
>
> possible??
With IDL!? Pfft. Of course.
http://www.dfanning.com/tips/another_yaxis.html
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: dual histogram stumper [message #33367 is a reply to message #33295] |
Tue, 17 December 2002 13:52  |
jeyadev
Messages: 78 Registered: February 1995
|
Member |
|
|
David,
Just a nudge to your memory. Still waiting for the answer to my question.
What does the REVERSE keyword to the HISTOGRAM call do in IDL? Us poor
folks stuck with Wave cannot use that excellent procedure you posted
re set intersections as it is :-(
thanks
--
Surendar Jeyadev jeyadev@wrc.xerox.bounceback.com
Remove 'bounceback' for email address
|
|
|