Where did the zoom icon and other tools go in Release 2025b?

64 ビュー (過去 30 日間)
Clay Fulcher
Clay Fulcher 2025 年 11 月 13 日 21:33
コメント済み: Clay Fulcher 2025 年 11 月 14 日 4:25
I just installed version 2025b. I noticed that the zoom icon along with other graphics tools seem to have disappeared on figures. Is there any way to get those back?
  3 件のコメント
Clay Fulcher
Clay Fulcher 2025 年 11 月 13 日 22:39
編集済み: Clay Fulcher 2025 年 11 月 13 日 22:40
Now that I've removed the older version I was using, I don't have a way to screenshot it. In the version I had installed previously, there was a "zoom" button shaped like a small magnifying glass in a toolbar along with "datatips" and other graphics tools in a toolbar placed at the top left-hand corner of the figure. I see a few similar buttons on each subplot when I hover over it, and I think those were there previously also. But in the 2025b installation I have now, I don't see that helpful little graphics toolbar up at the top of the figure. I don't see anything in settings that would relate to it either.
Catalytic
Catalytic 2025 年 11 月 13 日 22:54
編集済み: Catalytic 2025 年 11 月 13 日 22:55
You removed the old version before testing the new version, to check that it worked well for you??? Brave. Especially with R2025. There have been lots of changes.

サインインしてコメントする。

採用された回答

Matt J
Matt J 2025 年 11 月 13 日 22:47
編集済み: Matt J 2025 年 11 月 13 日 23:03
In the version I had installed previously, there was a "zoom" button shaped like a small magnifying glass in a toolbar along with "datatips" and other graphics tools in a toolbar placed at the top left-hand corner of the figure.
It sounds like you're upgrading from a very old version. The top-left toolbar hasn't been there since R2018a.
To restore it, though, you can do,
set(groot,'defaultFigureCreateFcn',@(fig, ~)addFigButtons(fig));
function addFigButtons(fig)
if ~matlab.ui.internal.isUIFigure(fig)
addToolbarExplorationButtons(fig)
end
end
This can be added to your startup.m file so that it comes into effect at the start of any Matlab session.
  4 件のコメント
Matt J
Matt J 2025 年 11 月 14 日 4:02
編集済み: Matt J 2025 年 11 月 14 日 4:08
It looks like there have been some changes, and you can just do this now,
set(groot,'defaultFigureCreateFcn',@(fig, ~)addToolbarExplorationButtons(fig));
For older versions of Matlab (pre-R2025), you should use my originally posted answer, or it will break appdesigner.
Clay Fulcher
Clay Fulcher 2025 年 11 月 14 日 4:25
Fabulous! This works and thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

製品


リリース

R2025b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by