Matlab graphical objects (Patch)
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hi everyone, i need a bit help regarding the following situation. I am trying to write a small program that will be able to get the number and dimensions of some rectangles from the user and then randomly place them on a palette (lets say a bigger rectangle that will represent a map or workspace). But i want each rectangle to be like a unique object with its own properties that may change any time.
Réponses (1)
Walter Roberson
le 5 Mai 2012
0 votes
Yes, using patch() should work fine with that, and possibly even rectangle() would be fine for you.
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!