Create scale arrow on quiver
60 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/193650/image.png)
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')
0 个评论
回答(1 个)
madhan ravi
2018-10-31
set(qp,'AutoScale','on', 'AutoScaleFactor', 2)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vector Fields 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!