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 
Return to the default flat view Create a new topic Submit Reply
Re: dual histogram stumper [message #33295] Mon, 16 December 2002 14:21 Go to previous 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
[Message index]
 
Read Message
Read Message
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 18:56:34 PDT 2025

Total time taken to generate the page: 0.00416 seconds