How to display plot and rectangle at the same time?
Mostra commenti meno recenti
I want to display some lines and some moving rectangles at the same time in the same frame. I use plot() to draw the lines, and rectangle() to draw the rectangles, but they can't display at the same time. And I have tried 'hold on' , but that didn't work, how can i solve the problem?
Any help would be appreciated!
Thanks
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Display and Exploration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!