Re: [R] making annotations on graph window

2007-11-30 Thread John Kane
I am not sure I understand what you mean by programatically but does this example help at all? aa <- 1:10 plot(aa) mmean <- 5 sdd <- .25 text(c(2,3),6, labels=c( "mean", "sd")) text(c(2,3),5.5, labels=c(mmean, sdd)) --- Felipe Carrillo <[EMAIL PROTECTED]> wrote: > Hello all: > Is it possible t

Re: [R] making annotations on graph window

2007-11-30 Thread Gabor Grothendieck
Try: plot(Sepal.Length ~ Sepal.Width, iris) legend("topleft", capture.output(summary(iris[1:2])), cex = 0.7) On Nov 30, 2007 10:16 AM, Felipe Carrillo <[EMAIL PROTECTED]> wrote: > Hello all: > Is it possible to make annotations such as the > summary(sd,mean,min,max)programmatically on the graph

[R] making annotations on graph window

2007-11-30 Thread Felipe Carrillo
Hello all: Is it possible to make annotations such as the summary(sd,mean,min,max)programmatically on the graph window? Felipe D. Carrillo Fishery Biologist US Fish & Wildlife Service California, USA _