Re: [R] Controlling Postscript output, size and orientation

From: Nathan Vandergrift <>
Date: Sun, 2 Dec 2007 13:27:20 -0800 (PST)

Patrick Connolly-4 wrote:
> On Thu, 29-Nov-2007 at 01:22PM -0800, Nathan Vandergrift wrote:
> |>
> |> I'm trying to get my graphics so that I can use them in LaTeX to create
> (via
> |> ) a pdf presentation.
> |>
> |> I've tried controlling inner and outer margins and figure size using
> par(),
> |> to no avail. The ps output keeps appearing as a portrait page with a
> |> centered figure. Nothing I have been able to do so far has changed
> that.
> Check out the paper argument to the postscript device. I think you'll
> be more sucessful.

The issue isn't so much viewing is gsview (I've looked at previous threads on this and all my settings in gsview are the ones recommended), but creating a postscript file that is ready to be dumped into the LaTeX prosper package and have a good looking graph for a presentation. Currently, the graph comes out with lots of "white space" on a portrait oriented page.

My work around has been to open the file in Adobe and to crop the file (interestingly, when Adobe opens the file, it does not read in the excess "white space"). This works fine, but it is pretty inefficient.

I find it hard to believe that I can't control these things in R, but I have been unable to so using the reference manual and this site.

Trying to do it with lattice plots is even worse...

Using curve, line, and plot, I should be able to control these things using par(). In a lattice environment, I should be able to control these things using par.settings().

Oh, well, I'll keep plugging away...

Project Scientist
University of California, Irvine
View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 03 Dec 2007 - 08:54:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 03 Dec 2007 - 09:30:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.