setting axis font size on scatter plot

30 次查看(过去 30 天)
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