Changing Linewidth and Font size in thd(x)
9 ビュー (過去 30 日間)
古いコメントを表示
Adrian Alexander
2021 年 3 月 18 日
コメント済み: Adrian Alexander
2021 年 3 月 19 日
Hi,
I want to make fontsize and linewidth of thd(x) bigger , so that it looks better in word . i dont know how to get control over the build in plot anotation the figer and the line properties.
thanks for ur help in advance
0 件のコメント
採用された回答
Michael Soskind
2021 年 3 月 18 日
編集済み: Michael Soskind
2021 年 3 月 18 日
Hi Adrian,
The fontsize is relatively straightforward:
ax = gca;
ax.FontSize = 24;
will change the fontsize of the title, legend, and both x and y axes. If you want more customizability, you can change each individually by using the title, legend, xlabel, and ylabel commands with the FontSize option.
The linewidth should be adjusted by changing the default linewidth with the set function:
set(0,'defaultLineLineWidth',lw); % set the default line width to lw
This will change the linewidth you see in your figure. There are most likely some other good ways to do this, but these are some of the faster ways that I like to use in my figures.
Hope that helps,
Michael
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!