[R] making annotations on graph window

John Kane jrkrideau at yahoo.ca
Fri Nov 30 18:07:32 CET 2007


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.
>



More information about the R-help mailing list