xlabel with TeX text: Docked vs undocked figures

7 views (last 30 days)
% Under Win11, Matlab R2025b
figure
plot(1:10)
xlabel('My difference: dT')
figure
plot(1:10)
xlabel('My difference: \DeltaT')
% Then undock and redock figures. Text with TeX formatting-
% appear undocked, and dissapear docked!
% Bug or feature/setting?
  2 Comments
dpb
dpb on 27 Nov 2025
If you've checked for any updates and this is reproducible, then it would appear to be a bug related to the new desktop.
I did a search of the reported bugs in R2025a/b for various keywords such as 'xlabel' and found none; I would suggest it would be worth going ahead with a bug report; Mathworks may not be aware of nits such as this unless somebody discoverrs and reports it -- if it has been reported or is in an internal database, no harm done.
One Mathworks staffer who frequents the forum noted not terribly long ago that he has been surprised to find that seemingly obvious things actually were not in the database yet even though there were sometimes multiple forum reports because nobody ever did file the formal bug report.

Sign in to comment.

Answers (0)

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!