Re: getting prints at desired scale
- To: mathgroup at smc.vnet.net
- Subject: [mg86455] Re: getting prints at desired scale
- From: Szabolcs <szhorvat at gmail.com>
- Date: Tue, 11 Mar 2008 05:33:44 -0500 (EST)
- References: <fr5e4b$o9g$1@smc.vnet.net>
On Mar 11, 8:59 am, Nazdrovje <nazdro... at gmail.com> wrote:
> Hi all,
> I'm trying to print a graphic such that a specific element in the
> figure has a given size when printed, but haven't found a satisfactory
> solution.
>
> ImageSize scales bitmap exports (but they never seem to print at the
> intended size, and I have to correct scale by using a ruler and
> calculate a correction factor). None of the vector formats (PDF, EPS,
> SVG) seem to have options to fix their printing scale. Suggestions
> anyone?
ImageSize works fine with EPS export, but not with PDF export.
For example, to get an 8 cm wide PDF figure, the workaround is to use
gr = Plot[Sin[x],{x,0,10}]
cm = 72/2.54;
Export["gr.pdf", Show[gr, ImageSize -> 8 cm]]