What is the most efficient method to create a vector field plot using a non rectangular dataset?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
David Johnson
am 10 Nov. 2017
Kommentiert: Star Strider
am 14 Nov. 2017
I have several arrays each named x,y,u,v where each are 1 dimensional lists, x,y are the coordinate of the base of a vector. u,v is not related to its coordinate but represent the vector itself. The complete dataset is NOT rectangular. For example 1,2,1,2 represents a vector which has a base at a grid coordinate x,y = 1,2 and it moves 1 unit to the right and 2 units up however there may not be a dataset where x,y = 1,1.
I've tried using subplot and multiple quivers but it seems subsequent plots overwrite the previous and do not overlay on-top of the preceding quiver plot.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 10 Nov. 2017
You didn’t post your code, so I don’t know what you’ve done.
3 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!