Plot multiple quiver keeping arrows magnitude proportion
27 views (last 30 days)
Show older comments
Marius Marinescu on 14 Jul 2021
Commented: Marius Marinescu on 9 Sep 2021
Hello! I have a simple question I am not able to solve properly. I will simplify the problem to the following:
Consider two sets of vector field data:
When I plot these data, the size of the arrows coming from F2 are the same as the ones coming from F1, despite the fact that they are actually doble length.
If I want quiver to autoscale the arrows, but to mantain the magnitue proportion between arrows for different data sets (by different calls to quiver), what is the best way of doing it?
An test code to show this issue is:
Hrishikesh Borate on 19 Jul 2021
Edited: Hrishikesh Borate on 19 Jul 2021
By default, the quiver function shortens arrows so they do not overlap. To disable automatic scaling so that arrow lengths are determined entirely by U and V, set the scale argument to 0. Following code demonstrates the same.
For more information, refer quiver.
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!