How can I plot a patch for each row in matrix (vector-based)?

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?

回答 (0 件)

カテゴリ

質問済み:

2020 年 12 月 28 日

編集済み:

Jan
2020 年 12 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by