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

Home » Public Forums » archive » Re: multiple Y-axis for 2D plots
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: multiple Y-axis for 2D plots [message #15769 is a reply to message #15765] Tue, 08 June 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Robert King (kingrj2@bp.com) writes:

> I *JUST* knew that answering a question using someone elses' code
> wouldn't work!
>
> In my answer (foolishly copied & posted without checking to see that it
> works first!) I put the YRange from 0 to 200. You'll probably want to
> change this to the maximum and mininum values of the second data set. You
> can find these by using :
>
> maxVal=MAX(data_set_two, MIN=minVal)
>
> Then modify the call to the AXIS procedure as follows:
>
> Axis, YAxis=1, YRange=[minVal,maxVal], /SAVE, YTitle=' Dashed Line :
> Pressure (mmHg)'

I ran into the same problem. (Although I *did* remember to
test it first. I've been embarrassed *way* too many times!).
But I've already fixed this for the next printing of the
book. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Read Message
Read Message
Read Message
Previous Topic: dll's in windows
Next Topic: Redhat Linux 6.0 troubles / X11

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

Current Time: Wed Oct 08 18:04:13 PDT 2025

Total time taken to generate the page: 0.00804 seconds