adjusting label and title thickness of the plot function
16 ビュー (過去 30 日間)
古いコメントを表示
x=[1;2;3;4;5;6;7;8;9;10];
plot(x);
xlabel('x coordinates')
ylabel('y coordinates')
title('title')
%I need to increase the size of x-y labels and title and make a little more bold.
0 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 7 月 15 日
x=[1;2;3;4;5;6;7;8;9;10];
plot(x);
xlabel('x coordinates','fontsize',16,'fontweight','bold')
0 件のコメント
その他の回答 (1 件)
Yoav Livneh
2014 年 7 月 15 日
Just use the 'fontsize' attribute of the axes:
set(gca,'fontsize',fontsize); % default fontsize is 10
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Title についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!