hello,

i need to annotate a plot with an expression and a variable value - like:

plot(1:4)
dat<-1:2
text(2:3,2:3,expression(paste(bar(x)==dat)))


... but with the dat values plotted, 1 at x=2,y=2, and 2 at x=3,y=3.

maybe someone can help?

yours,
kay


-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------

-- 
View this message in context: 
http://r.789695.n4.nabble.com/how-to-paste-a-vector-to-expression-tp2328564p2328564.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to