[R] data in legend
Patrick Hausmann
patrick.hausmann at uni-bremen.de
Thu Sep 12 13:17:03 CEST 2002
> I would print some element of a vector between a text inside a legend of a
> plot(base), someone could say me how to do it?
Maybe something like this:
plot(1:10, type="l")
Test.ID <- c(1,2,3,4)
legend(2,10,paste("Test.ID[", Test.ID[3],"]",sep = ""),lty=c(1))
Patrick
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list