How can I disable font smoothing by default for all text , legend, marker, axes object within a plot?
6 次查看(过去 30 天)
显示 更早的评论
How can I disable font smoothing by default for all text , legend, marker, axes object within a plot?
Smoothed Text object , legends, Datamarkers, axes labels look very poor and blurry currently.
How can this be turned off by default ?
Don't want to apply this to all figures on a singular base.
Thank you for your help.
0 个评论
回答(3 个)
Naman Bhaia
2019-2-26
You can try the following commands
set(groot,'defaultAxesFontSmoothing', 'off');
set(groot,'defaultTextFontSmoothing', 'off');
And if you want the change to be persistent you can put those two commands in the ‘startup.m’ file.
At this point you can not turn of the font smoothing for legends but it should be available in upcoming version soon.
2 个评论
Naman Bhaia
2019-2-26
Try refrencing the object of the graph you want as a child of the graph as follows:
plot(1:10)
[h,objs] = legend('one')
objs(1).FontSmoothing='off'
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!