drawing vectors...

  • Follow


Hi,

I need to draw a vector 5eg velocity) centered on a point. The
general structure is the following:

vel=[vx1 vy1; vx2 vy2; ...]
center = [X1 Y1; X2 Y2; ...]

where vx1 and vy1 are velocities on x and y at time step 1 and so on,
and X1 Y1 represent the position on which the vector is applied at
time step 1 and so on...

How can I write a routine? (mainly I don't know the commands for
drawing the vector)

And if I have more than 1 vector/center to draw at each time step?

Thanks
0
Reply mail.plutus (24) 3/14/2005 10:16:34 PM

no answer?
0
Reply mail.plutus (24) 3/15/2005 8:59:51 AM


"Steve" <mail.plutus@gmail.com> wrote in message 
news:eefef54.-1@webx.raydaftYaTP...
> Hi,
>
> I need to draw a vector 5eg velocity) centered on a point. The
> general structure is the following:
>
> vel=[vx1 vy1; vx2 vy2; ...]
> center = [X1 Y1; X2 Y2; ...]
>
> where vx1 and vy1 are velocities on x and y at time step 1 and so on,
> and X1 Y1 represent the position on which the vector is applied at
> time step 1 and so on...
>
> How can I write a routine? (mainly I don't know the commands for
> drawing the vector)
>
> And if I have more than 1 vector/center to draw at each time step?

See HELP QUIVER or HELP LINE.

-- 
Steve Lord
slord@mathworks.com 


0
Reply slord (13276) 3/15/2005 1:57:13 PM

2 Replies
20 Views

(page loaded in 0.047 seconds)


Reply: