How to display plot and rectangle at the same time?
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Display and Exploration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!