From: James on
I am having difficulty changing the font for the ticks on a subplot axis.

I am able to change the font size fine, but the font itself, and the legend font, do not update as the axis labels do.

Here is part of .m script:

legend_h=gca;
set(legend_h,'FontSize',6,'FontName','Courier');


subplot(4,1,2,legend_h)
plot(t1,data1(:,RPM))
xlabel('Time (sec)') %Takes correct font
ylabel('(RPM)') %Takes correct font
xlim([0, xmax])
legend('Engine Speed','Location','SouthEastOutside') %Does not take font
 | 
Pages: 1
Prev: reshape
Next: hist3 returning indices