How to change the Head Properties of a vector?

5 views (last 30 days)
Emerson De Souza
Emerson De Souza on 20 Oct 2011
I want to change the HeadProperties of a vector.
In the example below I show the problems:
clear all;
close all;
U=[1 2 3 4 5 6 7 8 9 10];
V=[0 0 0 0 0 0 0 0 0 0];
x=[-0.35 -0.37 -0.38 -0.40 -0.40 -0.41 -0.41 -0.42 -0.42 -0.417];
y=[-0.11 -0.10 -0.09 -0.08 -0.06 -0.04 -0.02 0.001 0.024 0.047];
Vector=[U' V' x' y'];
quiver(Vector(:,1), Vector(:,2), Vector(:,3), Vector(:,4), 0, 'LineWidth', 1, 'MaxHeadSize', .1);
axis([0 11 -0.2 0.2])
First, the vector heads are opened ones and I want to have solid heads.
Second, the head is not symmetric relative to solid line, but it changes its property with direction. I wand to have
symmetric sides for any vector direction.
Third, the function MaxHeadSize is not working and I don't know why.
I already look in the documentation for vector plot, quiver, etc... and did not find the instructions. I wonder if someone is familiar with this problem and could help me.
Thanks in advance for your attention
[EDITED, JSimon, 20-Oct-2011 11:33 UTC, Code formatted]
  1 Comment
Jan on 20 Oct 2011
Please use code formatting as explained at the "Markup help" link on this page.
About the useless "clear all" see:

Sign in to comment.

Accepted Answer

Jan on 20 Oct 2011

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by