How to remove rectangle from plot after updating
3 次查看(过去 30 天)
显示 更早的评论
I am plotting a series of randomly placed rectangle objects. Rectangles are not allowed to overlap. I have a method for removing rectangles when they overlap another rectangle, but the removed rectangle object is still plotted. How can I tell Matlab to only plot the final set of rectangles?
I can remove the object from the class I created, but it still appears in the plot.
2 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!