Re: [Rd] Fwd: controlling plot height

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.