You can find an example of annotating lattice graphics with text anywhere on the graphics device using the pagenum package. See the vignette here:
https://cran.r-project.org/web/packages/pagenum/vignettes/pagenum.html The pagenum package uses the grid package to add viewports for the annotation. The R code showing how this works is here: https://github.com/kwstat/pagenum/blob/master/R/pagenum.r Kevin Wright On Thu, Sep 22, 2016 at 9:04 AM, Jun Shen <jun.shen...@gmail.com> wrote: > Dear list, > > Just wonder if there is a way to add annotation text outside an xyplot, > (e.g. the bottom of the plot). the panel.text seems only add text within > the plot. Thanks. > > Jun > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. > -- Kevin Wright [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.