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

Home » Public Forums » archive » /YNOZERO
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
/YNOZERO [message #42672] Fri, 18 February 2005 09:02 Go to previous message
Mr. No Address is currently offline  Mr. No Address
Messages: 11
Registered: February 2005
Junior Member
I'm trying to create a plot with a fixed YRANGE for YAxis=0 and a self
scaling range incorporating /YNOZERO for YAxis=1. Here is the code:

PLOT, TIME, DATA.TEMP1, COLOR=0, /NODATA, YRANGE=[30,45], YSTYLE=8
OPLOT, TIME, DATA.TEMP1, COLOR=1
AXIS, YAxis=1, /YNOZERO, /Save
OPLOT, TIME, DATA.TEMP2, COLOR=2

The above code produces a YAxis=1 that is the same scale as YAxis=0.
The only way I'm able to get YAxis=1 to a scale different than YAxis=0
is to explicitly set the range.

Gary
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: file_basename(): bug or feature?
Next Topic: detection of events from the serial port

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

Current Time: Wed Oct 08 17:35:47 PDT 2025

Total time taken to generate the page: 0.00435 seconds