フィルターのクリア

arrow length problem with 'quiver' function

9 ビュー (過去 30 日間)
Yu Li
Yu Li 2019 年 2 月 10 日
コメント済み: Star Strider 2019 年 2 月 11 日
I want to plot arrows using 'quiver' function along a circle, the circle is within a very small radius: ~0.02
the problem is that, the velocity is very large: over 20 m/s, and I need to use the scale factor to control its length. I read through the documents of 'quiver' function:
it mentioned that, while using factor 2, the length doubles, while using factor 0.5, the length becomes half. in this logic, it should be the original length when using factor 1, but, in the documentation, the length become orginal length when using factor 0.
so my question is that, what is the logic behind this factor? I do not find it anywhere.
I also add test data, please see attached, the command is:
quiver(cylx,cyly,vx,vy)
Thanks!
Yu

回答 (1 件)

Star Strider
Star Strider 2019 年 2 月 10 日
The quiver function has more options that what is listed in the examples of the quiver function documentation.
See the documentation page on Quiver Properties (link) for an explanation of all of them.
  2 件のコメント
Yu Li
Yu Li 2019 年 2 月 10 日
編集済み: Yu Li 2019 年 2 月 11 日
Hi:
Thanks for your reply.
I still could not find any explanation regarding the question I asked. for example, there are parameters called 'UData', 'VData', to control the vector length in X and Y direction. but problem is that, the velocity (~20) is about three orders of magnitude larger than than the coordinate (~0.02), why they displays like equivalent value when use the scale factor 1, as shown in picture attached?
Thanks!
Yu
Star Strider
Star Strider 2019 年 2 月 11 日
You will have to explore that.

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

カテゴリ

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