フィルターのクリア

What would be the scale of the vector using mquiver

14 ビュー (過去 30 日間)
Sophia
Sophia 2016 年 4 月 12 日
回答済み: Jess Lovering 2017 年 6 月 26 日
The values of vector mean_wint_u and mean_wint_u are cm/s * I have plotted every fourth vector and scaled it 4 so what would be unit, and what length signifies what?*
m_quiver(long(1:4:361,1:4:361),lat(1:4:361,1:4:361),mean_wint_u(1:4:361,1:4:361),mean_wint_v(1:4:361,1:4:361),4,'color',[0 0 0]);
  2 件のコメント
MARK THACKWRAY
MARK THACKWRAY 2017 年 4 月 25 日
Hi Did you ever find an answer for this? M
Sophia
Sophia 2017 年 6 月 26 日
Not so far!

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

回答 (1 件)

Jess Lovering
Jess Lovering 2017 年 6 月 26 日
It appears from the description in the file that it does not have a unit value since it is just scaling to fit the grid (make it pretty) and then multiplying that by 4 in your case. Seems like you have to set the scaling to zero to make it scale to the map units. Then maybe you can modify your data accordingly (multiple it by 4 if you want it four times the size) but then you will at least know that it is 4 units/degree that way. I hope this helps.
HERE IS WHAT THE SCRIPT SAYS:
m_quiver(X,Y,U,V,S) automatically scales the arrows to fit within the grid and then stretches them by S. Use S=0 to plot the arrows without the automatic scaling; In this case the scaling is 1 unit/degree latitude. Note that we do not scale arrows with respect to map coordinates! Instead, the arrows will correspond better to actual motions over some time step. The tradeoff is that a single scale arrow cannot be accurate for the entire map (M_VEC scales arrows according to map coordinates).

カテゴリ

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