Hi! 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? Thanks in advance! A.Semeria -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 12:35 12/09/02 +0200, you wrote:>Hi! >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? >Thanks in advance! >A.SemeriaPerhaps something like this could help: x <- 1:3 plot(x, pch = x) legend(1, 3, legend = paste("pch =", x), pch = 1:3) EP -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._