plotyy fontsize specifications not applying as expected
1 view (last 30 days)
Show older comments
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)
0 Comments
Accepted Answer
the cyclist
on 8 Oct 2011
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.]
More Answers (0)
See Also
Categories
Find more on Two y-axis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!