How to save a plot into a PDF file without a large margin around [duplicate]
What do you mean by “the proper size”? MATLAB figures are like vector graphics, so you can basically choose the size you want on your plot. You can set the size of the paper and the position of the figure with the function set. Example: plot(epx(1:5)); set(gcf, ‘PaperPosition’, [0 0 5 5]); %Position plot at … Read more