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

Home » Public Forums » archive » Re: VECTOR_FIELD trouble
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: VECTOR_FIELD trouble [message #49843] Wed, 23 August 2006 07:26 Go to previous message
Jo Klein is currently offline  Jo Klein
Messages: 54
Registered: January 2006
Member
Thanks for your insights. I've been able to narrow down the problem with
your code, first problem was that I hadn't set up my plot window
correctly (d'uh). Then I realised that PLOTS will connect all of the
data points, which is not what I need. Of course, I can use a loop to
draw my vectors:
for i=0,10000 do plots,outvert[*,2*i:2*i+1]
but that is quite inefficient. I was playing with IVector a bit, which
does a good job at displaying my vectors, and can draw line segments
when I set the head length to 0.
The direct graphics equivalent, VELOVECT, is painfully slow though, and
judging from the source code, uses the same loop approach that I've tried.
I wonder if there's a more intelligent way to plot my line segments,
i.e. avoiding the loop? Alternating between plotting and not plotting
line segments in some way?
Thanks everyone,
Jo
[Message index]
 
Read Message
Read Message
Previous Topic: Re: jpeg text field
Next Topic: Re: reduce the size of eps

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

Current Time: Sat Oct 11 02:52:24 PDT 2025

Total time taken to generate the page: 0.00798 seconds