Hi there,
While making my figure, I noticed how the Yaxis labels cover part of the figure. How do I fix this?
f1=figure; p = plot(xArray,normalizedSum); p.LineWidth = 1.2; p.Color = [175 0 50]./255; set(gca,... 'FontSize', 12,... 'XDir','reverse',... 'YMinorTick','on',... 'YScale','log',... 'YTickLabelMode', 'manual',... 'YGrid','on',... 'YMinorGrid','on',... 'YMinorTick','on',... 'YTick',[1 10 100 200 255],... 'YTickLabel',{'1','10','100','200','255'}); xlim([0 12]); ylim([0 255]); ylabel('Logarithmic pixel intensity'); xlabel(['Distance (' char(197) ')']);
Thanks in advance.
Best Answer