Hi,

one possible solution is to use ltext().

ltext(xcoord, ycoord, label="TEST", adj=c(0.5,0.5))

You have to know or to find out best fitting coordinates.

Via adj you can control, if the text should adjust left, center or right
to the coords, and above, center or bottom of them.

HTH,
Rainer Hurling


Am 22.09.2016 um 16:04 schrieb Jun Shen:
> 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

______________________________________________
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.

Reply via email to