필터 지우기
필터 지우기

X and Y Axis font size

조회 수: 34 (최근 30일)
James Mathew
James Mathew 2013년 6월 23일
Hi,
I'm trying to change the font size on the x and y axis. I can change the description part:
xlabel('Frequency (GHz)','FontSize',24)
ylabel('Received power (dB)','FontSize',24)
title('Calibration retest 5.0 - 5.5GHz','FontSize',24)
But I can't work out how to change the plot values (ie 2.0 3.0 etc). I can manually change it once the plot has been made but when I have to print out 20 plots it could take a while.
Thanks
James

채택된 답변

dpb
dpb 2013년 6월 23일
set(gca,'fontsize',8) % say...default here is 10
NB:
get(gca)
will return current settings/values for all properties of the axis object--very useful when you don't recall the name of the one you're after.

추가 답변 (1개)

James Mathew
James Mathew 2013년 6월 23일
Excellent, many thanks.
James

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by