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 at 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