How to plot quiver in normalize size
10 ビュー (過去 30 日間)
古いコメントを表示
Greetings
I have a problem to display the current speed using quiver. My problem is setting up the length scale of vector. I try below code but some vectors show more biggest than the others. So how I can do that to normalize that vectors. Therefore they show same size but different in direction. Anybody can help me ....
Thanks for advance
p= 10;
quiver(x1,y1,p*u2,p*v2,0,'color',[0 0 0])

0 件のコメント
回答 (1 件)
KSSV
2017 年 9 月 15 日
Read the documentation of quiver there is an option of restricting/ mentioning the size of arrows by a scale.
quiver(...,scale) automatically scales the arrows to fit within the grid and then stretches them by the factor scale. scale = 2 doubles their relative length, and scale = 0.5 halves the length. Use scale = 0 to plot the velocity vectors without automatic scaling.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Vector Fields についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!