Also, I can see that the main problem is that subplot axes and colorbar are chidren of the panel, while the text I add is child of the axes. This is why text goes behind colorbar.
Set text box transparency
15 次查看(过去 30 天)
显示 更早的评论
Hello, I have created a big GUI with two panels. In one of the two panels I plot N different subplots imagesc).On the right side of each subplot, the relative colorbar is dispayed. Then I added a push button which, whenever pushed, allows to get points coordinates and diplayes them in a text box (function text) at each click of the mouse. The problem is that, when I click on a point which is close to the right edge of the subplot, the text box goes behind the colorbar and the coordinates could not be red, of course. Any solution to this problem? I tried with uistack or by drawing a patch under the textbox, but this does not work.
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!