Re: [R] values in graph points

2009-06-24 Thread Jim Lemon
Hi Romildo, thigmophobe.labels in the plotrix package might do what you want: thigmophobe.labels(x,y,labels=y,...) I have just had a bug report, so if you have any NA or NaN values in your x and y coordinates, wait for version 2.6-2 Jim __ R-help@r

Re: [R] values in graph points

2009-06-23 Thread David Winsemius
On Jun 23, 2009, at 5:04 PM, Romildo Martins wrote: Hello, How to add x values in graph points? Most people would call those y-points, nonetheless, you should be looking at: ?text Thanks a lot, Romildo x <- c(22.44, 20.14, 15.85, 15.97) plot(x, type="n", axes=FALSE, ann=FALSE, labels

[R] values in graph points

2009-06-23 Thread Romildo Martins
Hello, How to add x values in graph points? Thanks a lot, Romildo x <- c(22.44, 20.14, 15.85, 15.97) plot(x, type="n", axes=FALSE, ann=FALSE, labels=c(22.44, 20.14, 15.85, 15.97)) par(lwd=1) lines(x) points(x, pch=5, bg="grey", cex=1.5) axis(2, las=1) axis(1, at=1:4, lab=c("none", "50-50", "80-