Re: [R] Greek letters and variable values in lattice plot annotation

2010-08-31 Thread Thomas Maier
Thanks! That does exactly what I needed. On Tue, Aug 31, 2010 at 12:07 PM, David Winsemius wrote: > > On Aug 31, 2010, at 11:34 AM, Thomas Maier wrote: > > I'd like to annotate a lattice plot, e.g. xyplot, with text containing >> both >> Greek letters and variable values. In the base graphics p

Re: [R] Greek letters and variable values in lattice plot annotation

2010-08-31 Thread David Winsemius
On Aug 31, 2010, at 11:34 AM, Thomas Maier wrote: I'd like to annotate a lattice plot, e.g. xyplot, with text containing both Greek letters and variable values. In the base graphics plot command this can be accomplished with e.g. main = substitute(paste(lambda,"=",var),list(var=var)), where

[R] Greek letters and variable values in lattice plot annotation

2010-08-31 Thread Thomas Maier
I'd like to annotate a lattice plot, e.g. xyplot, with text containing both Greek letters and variable values. In the base graphics plot command this can be accomplished with e.g. main = substitute(paste(lambda,"=",var),list(var=var)), where var is a variable that contains the value. When I try to