MATLAB: Plotyy fontsize specifications not applying as expected

fontsizeplotyy

My FontSize specifications are not applying to either handles or direct calls for my plotyy (see below). They also do not change when manually entered in the property editor. Any ideas?
[AX,H1,H2] =plotyy(x,cuttemp,x,cutstrain);
set(get(AX(1),'Ylabel'),'String','Temperature','Color',[0 0 0])
set(get(AX(2),'Ylabel'),'String','Strain gauge','Color',[0 0 0])
xlabel('Sample (1000 Hz)')
title('Male responses','FontSize',24)
set(H1,'LineStyle','--','Color',[0 0 0])
set(H2,'LineStyle','-','Color',[0 0 0])
hleg1=legend('Temperature','Strain gauge');
set(hleg1,'FontSize',24)

Best Answer

I see in your code that you changed the font size of the legend and the title. When I run your code that is exactly what I get. [MATLAB 2011b on Mac.]