
How to revert the figure behavior in MATLAB R2025a and newer to the R2024b style?
303 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 Mar 2025
Edited: MathWorks Support Team
on 19 Jun 2025
I noticed that the default figure size in MATLAB R2025a is much larger than R2024b and previous releases. In addition, every new figure is put into the same figure container/window, like shown below.
Is there a way to revert to the figure behavior of MATLAB R2024b and before? That is, make the default figure size smaller, and have MATLAB open a new figure window each time I create a new figure.

Accepted Answer
MathWorks Support Team
on 18 Jun 2025
To make figures behave like in MATLAB R2024b, you need to add the commands below to your "startup.m" file:
set(groot, "defaultFigurePosition", [680 458 560 420])
set(groot, "defaultFigureWindowStyle", "normal")
You may need to adjust the "defaultFigurePosition" vector (i.e. [680 458 560 420]) depending on your monitor screen size.
If you do not already have a "startup.m" file, create one by following the instructions in the "startup" documentation.
After applying those changes, figures will be plotted in individual windows, as shown below:

1 Comment
Walter Roberson
on 25 Mar 2025
It might be necessary to use
set(groot, "defaultFigureMenuBar", "figure");
set(groot, "defaultFigureToolbar", "figure");
More Answers (0)
See Also
Categories
Find more on Adding custom doc in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!