[R] [r] par and complex graph

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 5 20:01:25 CEST 2012


On 05/06/2012 11:17, Francesco Nutini wrote:
>
> Dear R-Users, I'd like to have some tips about printing graph.
> I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5));  par(mar=c(0.5,4, 0.5, 0.5))
>
> But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can I print more than one graph per page, when I work with this "elaborated" graph?Many thanks!Francesco

xyplot does lattice (hence grid) plots: you need to read ?print.trellis 
to find out how to lay those out. par() applies only to base graphics.

As for ternaryplot: it depends which package you got it from (and there 
is more than one on CRAN).

>   		 	   		
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

That does mean you, too.

-- 
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 mailing list