I need to export some (2D) graphs from mathematica in eps format (only, unfortunately). The graphs are of similar nature (plotted from our different functions), and I have used the PlotRange
option to make all the graphs of equal size (in both x
and y
direction). However, while exporting, we get the exported files of slightly unequal size. This creates a problem while putting in some document, as when we scale it to the same size, the font size looks different (which, needless to say are same for everyone). I tried to use the ImageSize
option, but definitely I am making some mistakes, as I am not getting the graphics ( or to be precise getting a small part of the graphics). So my question is, what is the best way to export all of them in a fixed size, say of 5cm x 4cm?
I use version 7. Advanced thanks for any help.
ImageSize
:Export["test.eps", Plot[Sin[x], {x, 0, 1}, ImageSize -> 200]]
$\endgroup$ – chris Nov 8 '12 at 8:32Imagesize->{250,200}
$\endgroup$ – chris Nov 8 '12 at 9:10ImageSize->{GoldenRatio*200,200}
or any size in agreement with theAspectRatio
specification might be even better to avoid the useless white border around the graph. $\endgroup$ – VLC Nov 8 '12 at 9:26ImageSize
and you use the samePlotRange
. What can still change the appearance of the plots are different Labels on the Axes/Frame (sinceImageSize
is the size of the whole Plot not just the plot area). Also let me add this: If you want the picture to be 5cm wide the rightImageSize
to use should be 5*72/2.54. Then you can set up the font size to whatever size you want (e.g. 10pt) and use the graphic without scaling. $\endgroup$ – jens_bo Nov 8 '12 at 9:59