From carlos at necsi.org  Tue Nov 27 17:25:25 2007
From: carlos at necsi.org (carlos at necsi.org)
Date: Tue, 27 Nov 2007 17:25:25 +0100 (CET)
Subject: [Rd] Problem with points/lines (PR#10472)
Message-ID: <20071127162525.F0836283416B@mail.pubhealth.ku.dk>

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



[Rd] Problem with points/lines (PR#10472)
carlos at necsi.org