Can't resize UI panel objects with plot edit tools in r2025?
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I had been using uipanel objects to help with laying out subfigures for large, elaborate figures with multiple panels. I'd put groups of related figures in there, and then resize the panels using the plot edit tools until the figures looked "right". However, it seems like ui panel objects are not even selectable with the plot edit tools any more, does that sound right? What possible reason could there be for "breaking" this feature? Is there some other object that can be used to contain multiple graphics objects and is WYSIWYG resizable?
0 Kommentare
Antworten (1)
Will
am 27 Jan. 2026 um 12:55
Hey Adam,
Faced the same issue in R2025b. I think switching back to R2024b is the best workaround.
As an alternative, you can use tiledlayout - https://www.mathworks.com/help/matlab/ref/tiledlayout.html
If your figure has a complex layout, it is recommended to use uigridlayout - https://www.mathworks.com/help/matlab/ref/uigridlayout.html
f = uifigure;
g = uigridlayout(f,[2 2]);
ax1 = uiaxes(g);
ax2 = uiaxes(g);
1 Kommentar
Siehe auch
Kategorien
Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!