Rectangles bleeding out of axes when zooming

1 回表示 (過去 30 日間)
Nuno Benavente
Nuno Benavente 2013 年 9 月 4 日
In a GUI I'm developing I have a panel then a child axes in it. In this axes I 'imshow' a given image. After some calculations I have several coordinates that correspond to areas in the image and I draw them over the image in the form of squares, using the 'rectangle' function. The problem is, when I zoom in on that axes with the overlayed rectangles they bleed out of the axes and into the other areas of the GUI. How do I prevent this from happening?
Thanks in advance.

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by