How to make arrows in quiver plot visible ?

6 ビュー (過去 30 日間)
Ole
Ole 2015 年 10 月 28 日
コメント済み: Star Strider 2015 年 10 月 28 日
How to make the arrows some what more proportional and look like arrows ?
The matrices are attached.
A = load(A.mat); B = load(B.mat); Z1 = load(Z1.mat); R1 = load(R1.mat);
figure(2)
h = quiver(Z1,R1,A,B,1)%,hold off, axis
set(h,'MaxHeadSize',0.01,'LineWidth',1 );
This is the plot before decreasing the max size of the arrow.

回答 (1 件)

Star Strider
Star Strider 2015 年 10 月 28 日
I’m not sure what you want. If you want them to look more like arrows, increase the 'MaxHeadSize' parameter. The optional fifth ‘scale’ argument (that you have set to 1) will control the size of the arrow shafts. To turn scaling off, set it to 0. Every other value will scale it by the value you set, but it will scale.
  2 件のコメント
Ole
Ole 2015 年 10 月 28 日
The arrows do not look like arrows they are T shape. The arrow is too big for the size of the vector thats why I tried to reduce its size.
Star Strider
Star Strider 2015 年 10 月 28 日
The arrowheads scale with the size of the vector. The only other option I can think of that might work is: 'AlignVertexCenters','on' and possibly also reduce the line width.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by