subplot change size of xtick ytick

7 次查看(过去 30 天)
How do i change the size of my xtick ytick in subplot ? This is a part of my code
set(gca, 'XTick', 0.5:0.1:1, 'YTick', 0:0.2:1);
axis(gca,'square');
legend('3DOP', 'MCG-D', 'MCG', 'EB', 'SS', 'BING');
xlabel('Intersection Over Union');
ylabel('Recall');

采纳的回答

KSSV
KSSV 2017-1-23
set(gca, 'XTick', 0.5:0.1:1, 'YTick', 0:0.2:1);
set(gca, 'FontSize', 18)
axis(gca,'square');
legend('3DOP', 'MCG-D', 'MCG', 'EB', 'SS', 'BING');
xlabel('Intersection Over Union','Fontsize',12);
ylabel('Recall','Fontsize',12);
  1 个评论
RuiQi
RuiQi 2017-1-23
Thanks ! I tried xt = get(gca, 'XTick'); set(gca, 'FontSize', 15); but it didnt work. Your method is simpler and it works

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Embedded Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by