Can the font size of gscatter x-axis and y-axis labels be changed?
5 次查看(过去 30 天)
显示 更早的评论
I'm creating several group scatter plots where the a-axis and y-axis labels vary from plot to plot. The parameters xnam and ynam specify the names to use for the x-axis and y-axis labels.
Are the font sizes of these parameters hard coded to specific values? Or can they be varied?
Thank you.
0 个评论
采纳的回答
Star Strider
2017-5-16
You can vary them with the 'FontSize' p[roperty.
Example —
x = rand(1,100);
y = rand(1,100);
figure(1)
scatter(x, y)
xlabel('X Value', 'FontSize',20);
ylabel('Y Value', 'FontSize',30)
grid
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!