Create scale arrow on quiver

60 ビュー (過去 30 日間)
Tumelo Maja
Tumelo Maja 2018 年 10 月 31 日
編集済み: madhan ravi 2018 年 10 月 31 日
I have a quiver plot with vectors and i'd like to add a scale/legend vector indicating the reference. See my plot and code below. I attached mat file with sample data.
qp = quiver(year_day74,0,east_574_Gs_tot_15m,north_574_Gs_tot_15m)
set(qp,'LineWidth',1,'MaxHeadSize',.1,'AutoScaleFactor',0.5,'Color','blue')

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 31 日
set(qp,'AutoScale','on', 'AutoScaleFactor', 2)
  2 件のコメント
Tumelo Maja
Tumelo Maja 2018 年 10 月 31 日
How do i add the reference arrow to the plot. for eg. 1 m/s reference like topright on this image :-)

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

カテゴリ

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