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

Home » Public Forums » archive » Re: dual histogram stumper
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: dual histogram stumper [message #33295] Mon, 16 December 2002 14:21 Go to next message
David Fanning is currently offline  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 Go to previous message
jeyadev is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: SPAWN and IMAGEMAGICK
Next Topic: Windows, LCC & call_external

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

Current Time: Wed Oct 08 14:53:44 PDT 2025

Total time taken to generate the page: 0.00537 seconds