How to turn off anti-aliasing in figure text (legend, axes label) on Matlab R2014b ?
7 ビュー (過去 30 日間)
古いコメントを表示
I know that antialiasing of figure data points can be switched off "set(gcf,'GraphicsSmoothing','off')" on Matlab R2014b. But the text in figure legends and axis labels remain antialiased. This is especially noticeable when I export the figure to PNG/JPG. Does anybody know how I can switch antialiasing off for figure fonts? I would like to switch antialiasing off for every exportable object in the figure window. Thank you in advance.
0 件のコメント
回答 (1 件)
Deep
2024 年 11 月 22 日
Antialiasing for axes can be turned off globally as demonstrated in this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/159065-how-to-change-the-default-settings-for-anti-aliasing-in-matlab-r2014b.
Unfortunately, there appears to be no way to control antialiasing globally for legend objects. As a workaround, the solution provided in this MATLAB Answer works for me in MATLAB R2014b: https://www.mathworks.com/matlabcentral/answers/212630-how-can-i-disable-font-smoothing-within-a-legend.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!