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

Home » Public Forums » archive » Re: vector overplot
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: vector overplot [message #11801] Tue, 26 May 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problems with scalar structures
Next Topic: vector overplot

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

Current Time: Wed Oct 08 15:55:45 PDT 2025

Total time taken to generate the page: 0.00547 seconds