MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ImageSize option when exporting PDFs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85861] Re: ImageSize option when exporting PDFs
  • From: "Mariano Suárez-Alvarez" <mariano.suarezalvarez at gmail.com>
  • Date: Mon, 25 Feb 2008 07:39:18 -0500 (EST)
  • References: <fmmk0p$em7$1@smc.vnet.net>

On Jan 17, 2:02 am, Szabolcs Horv=E1t <szhor... at gmail.com> wrote:
> When exporting EPS graphics, theImageSizeoption can be set in
> Export[].  These produce graphics of different sizes:
>
> Export["gr.eps", Graphics[Circle[]],ImageSize-> 150]
> Export["gr.eps", Graphics[Circle[]],ImageSize-> 300]
>
> But this does not work for PDF.  These produce identical graphics:
>
> Export["gr.pdf", Graphics[Circle[]],ImageSize-> 150]
> Export["gr.pdf", Graphics[Circle[]],ImageSize-> 300]
>
> A workaround is to use the option inside Graphics, like this:
>
> Export["gr.pdf", Graphics[Circle[],ImageSize-> 150]]
> Export["gr.pdf", Graphics[Circle[],ImageSize-> 300]]
>
> but this is very inconvenient because it affects screen display too.
>
> Is it intentional thatImageSizedoes not work with PDFs (if yes, why?),
> or is it a bug?

So... is this the recommended practice to get a pdf of the
desired size with 6.0?

-- m


  • Prev by Date: Legend with ListDensityPlot
  • Next by Date: Re: Gudermannian Function
  • Previous by thread: Re: Legend with ListDensityPlot
  • Next by thread: Re: ImageSize option when exporting PDFs