필터 지우기
필터 지우기

setting axis font size on scatter plot

조회 수: 30 (최근 30일)
tombola
tombola 2012년 5월 22일
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일
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개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by