Re: [Rd] Fwd: controlling plot height

From: Prof Brian Ripley <>
Date: Sun 28 Jan 2007 - 07:10:05 GMT

On Sat, 27 Jan 2007, t.d. kaplan wrote:

> hi,
> i am trying to create a plot of reduced height. i am able to achieve
> this with:
> par(pin=c(par("pin")[1], 1))
> however, the plot is surrounded by large margins. is there a way for
> me to reduce the margins to match the dimensions of the plot?

It sounds as if it is the device region not the plot region which you wish to reduce in height. You do that when opening the device, e.g.

pdf(width=10, height=4)

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Sun Jan 28 18:11:42 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 28 Jan 2007 - 15:31:06 GMT.

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