Hi Francesco,

No, I haven't tried...
But if you have some code I can try.

Regards,
Carlos Ortega
www.qualityexcellence.es

2012/6/7 Francesco Nutini <nutini.france...@gmail.com>

>  Oooooh thank you Carlos!
> I wasted a lot of time formatting my xyplot by powerpoint.
> Did you used a similar tips for ternaryplot (vcd)?
>
> Many thanks.
> Regards,
> Francesco
>
>
>
>
> ------------------------------
> Date: Wed, 6 Jun 2012 17:08:39 +0200
>
> Subject: Re: [R] [r] par and complex graph
> From: c...@qualityexcellence.es
> To: nutini.france...@gmail.com
>
>
> Hi,
>
> Sorry, layout is a parameter you should use when plotting several charts
> of the same nature.
> If you want to combien different lattice charts you should use "print()"
> which is a function that has methods to consider trellis objects. Check
> help details for "print.tellis" o consider this example:
>
> p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height")
> p12 <- densityplot( ~ height | voice.part, data = singer, xlab = "Height")
> p2 <- histogram( ~ height, data = singer, xlab = "Height")
>
>
> ## simple positioning by split
> print(p11, split=c(1,1,1,2), more=TRUE)
> print(p2, split=c(1,2,1,2))
>
> ## Combining split and position:
> print(p11, position = c(0,0,.75,.75), split=c(1,1,1,2), more=TRUE)
> print(p12, position = c(0,0,.75,.75), split=c(1,2,1,2), more=TRUE)
> print(p2, position = c(.5,.75,1,1), more=FALSE)
>
> Regards,
> Carlos Ortega
> www.qualityexcellence.es
>
>
>
> 2012/6/6 Carlos Ortega <c...@qualityexcellence.es>
>
> Hi Francesco,
>
> The parameter in the lattice package that you can use to arrange several
> plots in the same page is "layout":
>
> xyplot(Sepal.Length + Sepal.Width ~ Petal.Length + Petal.Width | Species,
>        data = iris, scales = "free", *layout = c(2, 2)*,
>        auto.key = list(x = .6, y = .7, corner = c(0, 0)))
>
> Regards,
> Carlos Ortega
> www.qualityexcellence.es
>
>
> 2012/6/6 Francesco Nutini <nutini.france...@gmail.com>
>
>
> Thank you Brian! So, that's why sometimes I can't use the par()....
> Now I'm using the ternaryplot in [vcd]. Then, I have to read the vcd help
> to looking for a function similar to par().
> Many thanks.
> Francesco
>
>
>
> > Date: Tue, 5 Jun 2012 19:01:25 +0100
> > From: rip...@stats.ox.ac.uk
> > To: nutini.france...@gmail.com
> > CC: r-help@r-project.org
> > Subject: Re: [R] [r] par and complex graph
> >
> > 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@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,                  rip...@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
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>
>
>
>
> --
> Saludos,
> Carlos Ortega
> www.qualityexcellence.es
>
>
>
>
> --
> Saludos,
> Carlos Ortega
> www.qualityexcellence.es
>



-- 
Saludos,
Carlos Ortega
www.qualityexcellence.es

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to