[R] Two graphs of different sizes on one devise. How to?
ripley at stats.ox.ac.uk
Fri Mar 14 11:23:32 CET 2003
On Fri, 14 Mar 2003, wolski wrote:
> I am trying to plot two graphics with different sizes to one devise.
> # is set the size for the first graphic
> #and plot it
> #then i set the size
> #and plot the second one
> Unfortunately when i plot figure two figure 1 disapear.
> How to avoid these?
?par, look at `new'.
Setting fig unsets the mfrow call.
As far as I recall this is covered in some detail in `An Introduction to
R'. Alternatives are to use the layout facilities (?layout) or
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
More information about the R-help