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

Home » Public Forums » archive » 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
plots? [message #31799] Mon, 19 August 2002 15:33 Go to previous message
bin_zheng_99 is currently offline  bin_zheng_99
Messages: 6
Registered: July 2002
Junior Member
Hello, All,

I have a problem about using plots. I want to use two plots for two
different data sets at the same time. If I just use one plots for one
data set, there is no problem. But when I use two, it doesn't work. It
seems the two plots interrupt each other. I want to know why?

Thanks very much for any kind of help!

I attach my simple program below:

;*****************
pro testPlots
arrayT = fltarr(11)
arrayX = fltarr(11)
arrayY = fltarr(11)
window, 1
x1 = !X & y1 = !Y & p1 = !P
window,2
x2 = !X & y2 = !Y & p2 = !P
for i=0, 10 Do begin
arrayY[i] = cos(i+1)
arrayX[i] = sin(i+1)
arrayT[i] = i
wset, 1
!X = x1 & !Y = x1 & !P = p1
plots,arrayT[i], arrayX[i], /continue
wset, 2
!X = x2 & !Y = y2 & !P = p2
plots,arrayT[i], arrayY[i], /continue

endfor

end

;****************************
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: make and read a subset of a tiff image
Next Topic: plots

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

Current Time: Fri Oct 10 00:57:01 PDT 2025

Total time taken to generate the page: 3.28010 seconds