Skip to content
Prev 174691 / 398506 Next

Legend containing maths symbol and values of variables

For the legend argument try this:

leg = as.expression(c(sprintf("Up (>= %d)", threshold),
	"Normal", "Down", "NA"))

or use paste in place of sprintf.
On Mon, Mar 23, 2009 at 11:53 PM, Daren Tan <darentan76 at gmail.com> wrote: