how to plot animated square tiles?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
vaggelis papasot
il 27 Feb 2016
Risposto: Walter Roberson
il 27 Feb 2016
Hi. I want to plot 5 square tiles in the shape of a cross.My goal is to change "online" the color of the tiles according to a number variable , for example if number==1 turn upper tile green,if number==2 turn down tile green... etc.
0 Commenti
Risposta accettata
Walter Roberson
il 27 Feb 2016
rectangle with FaceColor . Record the handles of the rectangles as you build them. set() the FaceColor property of the appropriate handle according to whatever rules you have. (Remember to drawnow() so the change becomes visible.)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Animation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!