adjusting label and title thickness of the plot function

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.

 채택된 답변

Azzi Abdelmalek
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')

추가 답변 (1개)

Yoav Livneh
Yoav Livneh 2014년 7월 15일
Just use the 'fontsize' attribute of the axes:
set(gca,'fontsize',fontsize); % default fontsize is 10

카테고리

태그

질문:

2014년 7월 15일

답변:

2014년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by