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

Home » Public Forums » archive » Re: OPLOT, yaxis scale problem
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: OPLOT, yaxis scale problem [message #35024] Sun, 11 May 2003 06:38
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: OPLOT, yaxis scale problem
Next Topic: problem with hidden lines in SURFACE in IDL version 5.5 and 5.6

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

Current Time: Fri Oct 10 07:49:52 PDT 2025

Total time taken to generate the page: 0.39995 seconds