Only change ytick fontsize
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hamed
el 17 de Abr. de 2024 a las 14:30
Comentada: Voss
el 17 de Abr. de 2024 a las 15:05
I only need to change the fontsize of ytick, without affecting xticks. How can I do that?
% MAE
subplot(2, 2, 1);
bar([1:3]-0.15, MAE_10, 0.3, 'FaceColor', color_10);
hold on;
bar([1:3]+0.15, MAE_30, 0.3, 'FaceColor', color_30);
hold off;
set(gca, 'XTick', [1, 2, 3], 'XTickLabel', {'Bayesian(weak)', 'Bayesian(non-informative)', 'Frequentist'}, 'TickLabelInterpreter', 'latex', 'FontSize', 12);
title('MAE', 'Interpreter', 'latex');
legend('10 Forecasting', '30 Forecasting', 'Location', 'northwest');
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!