How to get back former diagram representation
Show older comments
Hi,
I have the impression that MathWorks changed the display behavior of figures/diagrams in MATLAB R2026a. Unfortunately, I am not happy with this change.
In my work, I often have to compare about eight diagrams simultaneously. This means that every time I restart MATLAB, I have to undock all the figure windows again, which is quite inconvenient.
Furthermore, copying these new figure representations into a Word document has become a real challenge. With the previous figure display, I could simply copy and paste a diagram, and it would fit well into the document, both geometrically and visually. With the new display, the diagrams become difficult to read once inserted into Word.
Is there a way to switch back to the previous figure display behavior?
Thanks in advance for your help.
Best regards,
Urs
Answers (2)
Sam Chak
on 8 Sep 2026
Here is the code for maintaining the desired aspect ratio of the plot.
If you select “Copy as image” from the generated plot and paste the image directly into Word, it may be cropped, causing the aspect ratio to deviate from 16:9. However, if you manually insert the image saved from MATLAB into Word, the aspect ratio is preserved.
x = -1:0.01:1;
y = x;
fig = figure;
plot(x, y), grid on
xlabel('x')
ylabel('y')
title('Test Plot Aspect Ratio 16:9')
pbaspect([16 9 1]); % lock 16:9 aspect
set(gca, 'PlotBoxAspectRatioMode', 'manual');
fig.Units = 'inches';
fig.Position(3:4) = [1920 1080]/300; % width,height in inches = pixels/DPI
print(fig, '-dpng', '-r300', 'plot_1920x1080.png');



2 Comments
Urs
on 8 Sep 2026
Sam Chak
on 8 Sep 2026
@Urs, You are welcome. My suggestion addresses only the issue of image aspect ratio in Word. In fact, I am also accustomed to using the direct copy-and-paste method in earlier versions of MATLAB because it worked perfectly for me. However, when I shared my code with a colleague, I noticed that two users running the same code on different screens could paste images with different dimensions or aspect ratios. Therefore, the most reliable approach is to lock the aspect ratio and insert the image saved from MATLAB into Word.
I don't know if this is what you are looking for, but here is the
Answer from AI:
You can revert the windowing and sizing behavior of figures back to the older style. Starting in MATLAB R2025a and continuing through R2026a, MathWorks introduced a major UI overhaul that defaults new figures to a larger layout and groups them inside a single tabbed "figure container" window. [1, 2]
According to the official MathWorks Support Team guidance, you can force MATLAB to open separate, traditionally sized figures by altering the root (groot) default graphics properties. [1]
For a Single Session
Run these two commands directly in your Command Window to apply the changes immediately for your current session:
set(groot, "defaultFigureWindowStyle", "normal");
set(groot, "defaultFigurePosition", [680 458 560 420]);
To Make It Permanent (Every Time MATLAB Starts)
To avoid typing this every time you launch MATLAB, append these lines to your custom startup.m file: [1]
- In the MATLAB Command Window, type edit startup.m (if the file doesn't exist, MATLAB will ask if you want to create it).
- Paste the following block into the file and save it:
% Revert figure behavior to the pre-R2025a style
set(groot, "defaultFigureWindowStyle", "normal");
set(groot, "defaultFigurePosition", [680 458 560 420]);
Note: Depending on your high-DPI monitor or screen resolution, you may want to slightly adjust the final pixel measurements in the [left bottom width height] vector of defaultFigurePosition to your liking. [1]
Important Limitation
1 Comment
Categories
Find more on Title 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!