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

Home » Public Forums » archive » Re: How to plot many lines simultaneously
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: How to plot many lines simultaneously [message #32736 is a reply to message #32732] Tue, 05 November 2002 06:34 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
lily_zhang wrote:
> Now I have two matrices, X and Y. Supposing X = FltArr(100), Y =
> FltArr(8,100),
> I just wonder how to plot all the columns of Y as the functions of X
> in an image simultaneouly.

plot,x,y(0,*)
for i= 1,7 do oplot,x,y(i,*)


Cheers,
bob

PS
X = findgen(100)
Y = randomn(seed,8,100)
creates a far more interesting plot than your example
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: gurus: example code as main level code ?
Next Topic: Re: About file length

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

Current Time: Fri Oct 10 15:09:25 PDT 2025

Total time taken to generate the page: 1.04118 seconds