How to keep a patch object and its rotation in the same plot
Ältere Kommentare anzeigen
How can I keep the two following objects in the same plot. I tried to use 'hold on' but I did not work. I think that the object is dissappeared after rotating but I could not find a solution. (I have read this: https://www.mathworks.com/matlabcentral/answers/328222-two-patches-in-one-figure. But it could not help)
bot = patch(x,y,'blue');
hold on
rotate(bot, [0 0 1], 45)
Thanks.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Polygons finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!