eps figures do not have the correct size
Show older comments
Hello i'm trying to print some plots as eps file for my thesis. I want to plot them in the right size so the font is the same in every plot and i can use the width of the whole paper. I'am plotting my stuff like this:
width = 15.5; %size in cm (i'm using A4)
high = 7;
ratio=high/width;
%------------------
xlim([-0.5*1/ratio*lim,0.5*1/ratio*lim]);
ylim([0,lim]);
%------------------
set(gcf,'paperunits','centimeters')
set(gcf,'papersize',[width,high])
set(gcf,'paperposition',[0,0,width,high])
print([filename '.eps'],'-depsc')
Why does the eps file have another size ( I only need the right with) then the 15.5cm I used? (I tested the size of the file with a pdf XChange viewer and Word 2010. Thank you in advance for any Help
1 Comment
Nikunj Kothari
on 27 Jan 2017
You can try this file exchange submission for saving images in a custom format:
Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!