This proved to solve it https://mathworks.com/matlabcentral/answers/158482-faster-way-to-create-rectangles
How can I plot a patch for each row in matrix (vector-based)?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi!
I have a Nx4 matrix and would like to plot a patch (a rectangle) for each row.
It will be used for an animation so a for loop is to slow, is there a way to do this vector based, so that I can later replace Xdata and Ydata?
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!