subplot change size of xtick ytick

6 ビュー (過去 30 日間)
RuiQi
RuiQi 2017 年 1 月 23 日
コメント済み: RuiQi 2017 年 1 月 23 日
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 Center および File ExchangeEmbedded Coder についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by