subplot change size of xtick ytick

13 Ansichten (letzte 30 Tage)
RuiQi
RuiQi am 23 Jan. 2017
Kommentiert: RuiQi am 23 Jan. 2017
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');

Akzeptierte Antwort

KSSV
KSSV am 23 Jan. 2017
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 Kommentar
RuiQi
RuiQi am 23 Jan. 2017
Thanks ! I tried xt = get(gca, 'XTick'); set(gca, 'FontSize', 15); but it didnt work. Your method is simpler and it works

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by