setting axis font size on scatter plot

Hi, I'm making a scatter plot as follows:
MATLAB CODE
sc = scatter(x1ValuesToPlot, x2ValuesToPlot, 4, 'filled');
%Final plot UI.
title(graphTitle, 'FontSize', 7);
set(gcf,'Color',[1 1 1]);
As you can see I'm setting the title font size. How would I set the axis font size please? All the best, Tom.

 채택된 답변

Daniel Shub
Daniel Shub 2012년 5월 22일

0 개 추천

set(gca, 'FontSize', 7)

댓글 수: 1

tombola
tombola 2012년 5월 22일
Works great, thanks alot. I'm sure I'd tried that but it works perfectly.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2012년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by