adjusting label and title thickness of the plot function
Show older comments
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.
Accepted Answer
More Answers (1)
Yoav Livneh
on 15 Jul 2014
Just use the 'fontsize' attribute of the axes:
set(gca,'fontsize',fontsize); % default fontsize is 10
Categories
Find more on Grid Lines, Tick Values, and Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!