How do I get the true position of UIAxes with daspect = [1 1 1] and contained within a grid?
I have an AppDesigner app that features a GridLayout set up like this:
The xy UIAxes object has its data aspect ratio set to [1 1 1], which means that when I resize the window, the axes resize so as to always match the aspect ratio of the plotted data. However, this presents a problem, as the xz and yz UIAxes objects don’t always match the width and/or height of the xy UIAxes object.
After exhausting a number of other potential approaches, I’m now trying to manually update the appropriate ColumnWidth and RowHeight values of the parent GridLayout, but I’m unable to get the true position of the xy UIAxes, because they always correspond to the maximum possible space occupied by the xy UIAxes. If that doesn’t parse in text, this should help:
How can I get the true position I’m looking for?I have an AppDesigner app that features a GridLayout set up like this:
The xy UIAxes object has its data aspect ratio set to [1 1 1], which means that when I resize the window, the axes resize so as to always match the aspect ratio of the plotted data. However, this presents a problem, as the xz and yz UIAxes objects don’t always match the width and/or height of the xy UIAxes object.
After exhausting a number of other potential approaches, I’m now trying to manually update the appropriate ColumnWidth and RowHeight values of the parent GridLayout, but I’m unable to get the true position of the xy UIAxes, because they always correspond to the maximum possible space occupied by the xy UIAxes. If that doesn’t parse in text, this should help:
How can I get the true position I’m looking for? I have an AppDesigner app that features a GridLayout set up like this:
The xy UIAxes object has its data aspect ratio set to [1 1 1], which means that when I resize the window, the axes resize so as to always match the aspect ratio of the plotted data. However, this presents a problem, as the xz and yz UIAxes objects don’t always match the width and/or height of the xy UIAxes object.
After exhausting a number of other potential approaches, I’m now trying to manually update the appropriate ColumnWidth and RowHeight values of the parent GridLayout, but I’m unable to get the true position of the xy UIAxes, because they always correspond to the maximum possible space occupied by the xy UIAxes. If that doesn’t parse in text, this should help:
How can I get the true position I’m looking for? matlab, appdesigner, axes MATLAB Answers — New Questions