When I generate a figure with "plotyy" and set the font size of the axis and/or tick labels to a sufficiently large number, the labels are cut off by the edges of the figure. How can I fix this? To reproduce, execute:
fontsize = 34;x = linspace(0, 1);y1 = x;y2 = x.^2;ax = plotyy(x, y1, x, y2);set(ax(1),'Fontsize',fontsize);set(ax(2),'Fontsize',fontsize);
Best Answer