Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Thierry Wannier (wannier@pyl.unibe.ch) writes: > I want to overplot n vectors of m points forming a matrix a(m,n). > I first used a loop of the type > plot, a(*,0) > for i = 1,n do oplot, a(*,i) > It does function but I was looking for a more rapid way without a FOR > loop. > Does someone propose an elegant way to get this overplot? I think you are stuck with some kind of loop here. If the issue is that it just *appears" slow, you can always try the trick of drawing the data to an off screen pixmap while the user is distracted with something else. Then blast the pixmap over with Device Copy. *That's* pretty fast. :-) Cheers, David ----------------------------------------------------------- David Fanning, Ph.D. Fanning Software Consulting E-Mail: davidf@dfanning.com Phone: 970-221-0438 Coyote's Guide to IDL Programming: http://www.dfanning.com/