Create scale arrow on quiver

48 views (last 30 days)
Tumelo Maja
Tumelo Maja on 31 Oct 2018
Edited: madhan ravi on 31 Oct 2018
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')

Answers (1)

madhan ravi
madhan ravi on 31 Oct 2018
set(qp,'AutoScale','on', 'AutoScaleFactor', 2)

Categories

Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!