[R] combine lattice plot and standard R plot

Dennis Murphy djmuser at gmail.com
Thu May 5 01:00:45 CEST 2011


Hi:

If it's doable, you'll probably need the gridBase package.
Fortunately, it has a nice vignette to get you started, which tells
you at the end that there are limitations in compatibility between
base and grid graphics (lattice is built on the latter).

HTH,
Dennis

2011/5/4 Lucia Cañas <lucia.canas at co.ieo.es>:
> Dear R users,
>
> I would like to combine lattice plot (xyplot) and standard R plot (plot and plotCI) in an unique figure.
>
> I use the function "par()" to combine plot and plotCI and I use the function "print()" to combine xyplot. I tried to use these functions to combine xyplot and plotCI and plots but they do not work. Does anybody know how I can do this?
>
> Thank you very much in advance.
>
>
>
>
> Lucía Cañás Ferreiro
>
> Instituto Español de Oceanografía
> Centro Oceanográfico de A coruña
> Paseo Marítimo Alcalde Francisco Vázquez, 10
> 15001 - A Coruña, Spain
>
> Tel: +34 981 218151  Fax: +34 981 229077
> lucia.canas at co.ieo.es
> http://www.ieo.es
>
>
>
>        [[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