[R] Fwd: Re: R grahics: Save as hangs computer

Richard M. Heiberger rmh at temple.edu
Fri Jan 5 05:30:56 CET 2007

R is actually smarter than that.  The bounding box is square.


The bounding box (which you can see by opening tmp.eps in emacs) is
%%BoundingBox: 0 0 517 517
and LaTeX will therefore interpret it correctly.  GSview is misleading
you since it puts that square region at one end of the rectangle
implied by the GSview setting of media at "letter" or "A4".

In addition to most likely not needing to crop, there are many ways to crop
the image.

If cropping is just to get rid of white space, I usually do it in LaTeX by
adding some negative space
inside the figure environment.


---- Original message ----
>Date: Fri, 5 Jan 2007 14:48:30 +1100
>From: karl.sommer at dpi.vic.gov.au  
>Subject: Re: [R] R grahics: Save as hangs computer  
>To: rmh at temple.edu
>Cc: ess-bugs at stat.math.ethz.ch, murdoch at stats.uwo.ca, r-help at stat.math.ethz.ch

>Opening the eps file in GSview I noticed that there is still a lot of white
>space in the bounding box which creates empty space when I want to include
>the image into a tex document.  Is there a way to crop the image to remove
>the white space before including it in a document?

More information about the R-help mailing list