Hi Hippien Dream

If I understood, the code below may help you.

Cheers,

Miltinho Astronauta
Brazil
===



x<-runif(20)
y<-rnorm(20)

df<-data.frame(cbind(x,y))

par(mfrow=c(1,2))
plot(y~x, data=df)

plot(y~x, data=df, type="n")
text(df$x, df$y, "o.o")






On 7/6/08, hippie dream <[EMAIL PROTECTED]> wrote:
>
>
> I am trying to produce a simple plot where the points in the plot are
> actually integers from my data. That is, I am making a length/width plot
> and
> I would like the points, rather dots or triangles, appear as different
> numbers corresponding to a column in my data. I have tried using this:
>
> ...,pch="column title"
>
> but this merely returns the first letter of the column title, B. Is there
> any way to do this?
>
> I am using R 2.7.1 and Ubuntu 8.04. Thanks.
> --
> View this message in context:
> http://www.nabble.com/Numbers-as-Points-in-Graphs-tp18307460p18307460.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to