From: John Dim on
Hello,

I used the quiver3 predefined function to draw arrows on specific points and it works

quiver3 (x , y , z , u , v , w , 0.8, '-k' ,'filled')

However, I am not able to change the linewidth of the arrows and the head of the arrows. Does anybody know how to do it?

Thanks
JD
From: freund on
Make a copy of quiver3.m and rename it, say myquiver3. Then hunt through the code for plot commands and change their options to what you want. You don't have to understand the algorithms to do this. A little trial and error should produce what you need. If you want more inputs you can simply add these into the function call.
From: us on
"John Dim" <mitsoujohn(a)yahoo.com> wrote in message <hmoh72$qvj$1(a)fred.mathworks.com>...
> Hello,
>
> I used the quiver3 predefined function to draw arrows on specific points and it works
>
> quiver3 (x , y , z , u , v , w , 0.8, '-k' ,'filled')
>
> However, I am not able to change the linewidth of the arrows and the head of the arrows. Does anybody know how to do it?
>
> Thanks
> JD

one of the solutions

qh=quiver3(...);
set(qu,'linewidth',3);

us
From: us on
"us " <us(a)neurol.unizh.ch> wrote in message <hmovkv$g44$1(a)fred.mathworks.com>...
> "John Dim" <mitsoujohn(a)yahoo.com> wrote in message <hmoh72$qvj$1(a)fred.mathworks.com>...
> > Hello,
> >
> > I used the quiver3 predefined function to draw arrows on specific points and it works
> >
> > quiver3 (x , y , z , u , v , w , 0.8, '-k' ,'filled')
> >
> > However, I am not able to change the linewidth of the arrows and the head of the arrows. Does anybody know how to do it?
> >
> > Thanks
> > JD
>
> one of the solutions
> qh=quiver3(...);
> set(qu,'linewidth',3);
> us

sorry for typo... must read

qh=quiver3(...);
set(qh,'linewidth',3);

us
 | 
Pages: 1
Prev: Error message
Next: Playfair cipher help