[R] R graph with values incorporated

Rubén Roa-Ureta rroa at udec.cl
Thu Aug 28 15:29:38 CEST 2008


Prasanth wrote:
> Dear All:
>
>  
>
> Greetings!
>
> By the way, is it possible to have a graph (say line graph) that shows
> "values" as well (say y-axis values within the graph)? One could do it in
> excel. I am just wondering whether it is possible with R!
>   
x <- rnorm(100,2,3)
y <- rnorm(100,2,3)
plot(x,y,pch=19)
text(x=x,y=y+.5,format(x,digits=1),cex=.5)

> 	[[alternative HTML version deleted]]  <-- Read the posting guide.
>



More information about the R-help mailing list