Clear Filters
Clear Filters

Matlab GUI problem with multiple panels

1 view (last 30 days)
I have created this big GUI(not using guide) that has 3 main panels, each one of them with different axes and buttons. Using 3 buttons you can switch between the panels (the one you want becomes visible and the other two invisible). But i have a problem when plotting some data on one of the panels i noticed that this axes object, belonging to another panel is being affected too (its size changes). I use
Tagx = findobj('Tag','Table');
to find an object. This is the axes affected
hAxesB = axes('Parent', InteractivePanel,...
'Units', 'pixels',...
'Position', [4 4 410 740],...
set(hAxesB, 'Units', 'centimeters');
Has anyone any idea on why is this happening?

Accepted Answer

Image Analyst
Image Analyst on 7 Jan 2013
Why are both hAxes and hAxesB in this line:
  1 Comment
Raldi on 7 Jan 2013
It seems that i forgot to change its name, guess i was too tired last night to notice. Thanks for the answer.

Sign in to comment.

More Answers (0)


Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!