Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Images chopped during Export

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83850] Re: Images chopped during Export
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sun, 2 Dec 2007 04:12:54 -0500 (EST)
  • References: <firdd1$r8v$1@smc.vnet.net>

Kentaroh Takagaki wrote:
> Hello,
> 
> I have a problem where tick labels are chopped off when I try to
> Export high resolution Graphics to high-resolution tiff.
> 
> graph=Plot[Exp[x], {x, 0, 2 Pi}, ImageSize -> 5*72]
> Export["test.tif", graph, ImageResolution -> 600]
> 
> This only happens when the ImageResolution is high. I've tried around
> with ImageMargins in the Plot command, but the exported bitmap just
> shows the same chopped graph with image margins on the outside.
> 
> I guess it is due to some internal quirks in handling of Graphics[]
> options or something. Does anybody know why this happens, and how to
> fix it?
> 

I know that this is an ugly solution, but if no one suggests anything 
better, you could try using the PlotRegion option:

Plot[Sin[x], {x, 0, 2 Pi}, PlotRegion -> {{0.1, 0.9}, {0.1, 0.9}}]

-- 
Szabolcs


  • Prev by Date: Re: a definite integral
  • Next by Date: Re: Vieta infinite product formula
  • Previous by thread: Images chopped during Export
  • Next by thread: Re: Re: Images chopped during Export