Hello
I am plotting figures in Matlab to then use them in Latex. I am using the following code to change the size of the display while I am using the save2pdf function (<http://uk.mathworks.com/matlabcentral/fileexchange/16179-save2pdf>) to save the pdf.
set(0,'DefaultTextInterpreter','Latex') grid onh_xlabel = get(gca,'XLabel');set(h_xlabel,'FontName','Arial')set(h_xlabel,'FontSize',18);h_ylabel = get(gca,'YLabel');set(h_ylabel,'FontName','Arial')set(h_ylabel,'FontSize',18);h_title = get(gca,'Title');set(h_title,'FontName','Arial')set(h_title,'FontSize',18);set(gca,'FontName','Arial')set(gca,'FontSize',18)legend boxoffsave2pdf([year,nameloc])
The problem arises when I insert the figure in Latex, the letters became squeezed and very small to see, which troubles me to display my results.
Any ideas would be helpful
Best Answer