issue with MATLAB figure

3 ビュー (過去 30 日間)
AYMEN ZREIKAT 2022 年 10 月 4 日
コメント済み: Robert U 2022 年 10 月 5 日
I create a figure xx.fig, now I save it as: xx.jpg. Eveything is fine. Now I made a copy of this file yy.fig because I need to modify the font size to have better resolution. Only I increased the font from 220 to 22. When I save the file as jpg, it gives me bad resolution compared with the previous one. What is the reason? I can not modify the font.
Thanks inadvance for your quick response.
This one is font 20
This one is font 22 but it looks worse inside word document

回答 (1 件)

Robert U
Robert U 2022 年 10 月 4 日
Hi Aymen Zreikat,
Please have a look at the export function you use. I recommend to use print() since it comes with several configuration options.
close all
data = rand(1,100);
data = [1:100; data];
fh = figure;
ah = axes(fh);
ah.XLabel.String = 'Cell Radius (km)';
ah.YLabel.String = 'Max Nr. of User (-)';
ah.XLabel.FontSize = 22;
ah.YLabel.FontSize = 22;
Kind regards,
  4 件のコメント
AYMEN ZREIKAT 2022 年 10 月 5 日
Thanks a lot
Robert U
Robert U 2022 年 10 月 5 日
Thank you for your positive feedback. If you like my answer, please, vote for it by clicking on the "thumb up"-symbol.
In case it serves your needs and answers your question thoroughly, accept it.
Kind regards,



Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by