[R] FW: [r] how to enclose two xyplot

baptiste auguie baptiste.auguie at googlemail.com
Wed Apr 13 22:52:45 CEST 2011


Hi,

Have you tried ?c.trellis in the latticeExtra package?

HTH,

baptiste

On 13 April 2011 23:36, Francesco Nutini <nutini.francesco at gmail.com> wrote:
>
>  Dear R-users,
>
> I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc.
> These parameters should tie in, in order to obtain, visually, a unique graph formed by two xyplot.
>
> I try to give an idea:
>
> xyplot1: |_|_|_|
>
>
>
> xyplot2: |_|_|_|
>
>
>
> what i want: |  |  | |
>
>                   |_|_|_|
>
>
> I tried to use the command "par", but it's doesn't work with xyplot. The two plot have, by default, the same x-axis scale.
> I know it's just a "visual solution", but it could be nice for a paper!
>
> Thanks a lot,
>
> Francesco Nutini
> PhD student
>
>
>
>
>
>        [[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.
>



More information about the R-help mailing list