adjusting label and title thickness of the plot function
14 次查看(过去 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!