I have a GUI that has 2 options on the toolbarmenu. User may change the width of the axes or change the "template display", e.g. change the axes position. No problms if I change the width and then change the template display. But,if I change the template display first(initially I have: axes A, position 1; Axes B, position 2; Axes C, Position 3 – change to- axes A, position 3; Axes B, position 2; Axes C, Position 1) and then I change the width of the axes, the axes just deformat. I think the update of the position is not done properly. Can anyone help me? I have attached a piece of the code
MATLAB: Update axes position properly
axesguideposition;
Best Answer