[Rd] Problem with points/lines (PR#10472)

carlos at necsi.org carlos at necsi.org
Tue Nov 27 17:25:25 CET 2007


Full_Name: Carlos Gershenson
Version: 2.6.1
OS: MacOSX
Submission from: (NULL) (24.128.48.138)


Hi,

Try this out:

x<-1:10
y<-x/2
plot(table(x))
points(table(y))
#or lines(table(y))

No matter what's the value of y, it prints out in the coordinates of x... this
happens only with tables, not with simple plot(x), points(y), and table(y) works
fine



More information about the R-devel mailing list