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
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
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 <mazatlanmexico at yahoo.com>
wrote:> 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
>
>
>
>
____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
>
> ______________________________________________
> R-help at 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.
>
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 <mazatlanmexico at yahoo.com> wrote:> 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 > > > > >____________________________________________________________________________________> Never miss a thing. Make Yahoo your home page. > > ______________________________________________ > R-help at 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. >