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

From: <carlos_at_necsi.org>
Date: Tue, 27 Nov 2007 17:25:25 +0100 (CET)


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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 29 Nov 2007 - 14:01:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 29 Nov 2007 - 16:30:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.