Live Editor Format Problem

9 ビュー (過去 30 日間)
Erin Rehm
Erin Rehm 2020 年 7 月 18 日
回答済み: Anmol Dhiman 2020 年 7 月 21 日
When I use the Live Editor the input and output text and figures are so small I can't read them. I also find tables are "squashed" together to the point I can't use them. In the attached screenshot you can see the problem.
I was hoping you could offer suggestions as to how to fix this?

回答 (1 件)

Anmol Dhiman
Anmol Dhiman 2020 年 7 月 21 日
Hi Erin,
For Changing the font size of the figure , you can use set(gca,'FontSize', value) after plotting where value is the integer number for font Size.
For example
x = [1:10];
y =x;
plot (x,y)
set(gca,'FontSize',18);
Similarly you can use FontSize in xlabel , ylabel ,title and itext when creating them as shown below
title('Title', 'FontSize', 24);
xlabel('x axis', 'FontSize', 24);
ylabel('y axis', 'FontSize', 18);
I could not reproduce the error for tables kindly share the code for the same.
Regards,
Anmol Dhiman

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by