Re: OPLOT, yaxis scale problem [message #35024] |
Sun, 11 May 2003 06:38 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kolbjorn Bekkelund (kolbjorn@arctic-linux.tnett.no) writes:
> How do I manage to scale the two sides of the plot so that it can
> show both the left yaxis (wind speeds) and the right one
> (direction) with correct scales?
You need to add a SAVE keyword to your AXIS command.
Otherwise, you will not change the !Y.S system variable
that converts a point in data space to a point on the
display. In other words, without it your next OPLOT plots
in the *old* axis range, not the new one you just drew.
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
|
|
|