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)

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by