Re: [R] scatterplot3d with categorical data

2008-01-27 Thread Duncan Murdoch
On 26/01/2008 9:21 PM, Geoff Russell wrote: > On Jan 26, 2008 11:23 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 26/01/2008 5:24 AM, Geoff Russell wrote: >>> Dear users, >>> >>> I'm trying to produce a 3d bar plot but the x and y dimensions have >>> categorical >>> data -- so I only want 3

Re: [R] scatterplot3d with categorical data

2008-01-26 Thread Geoff Russell
On Jan 26, 2008 11:23 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > On 26/01/2008 5:24 AM, Geoff Russell wrote: > > Dear users, > > > > I'm trying to produce a 3d bar plot but the x and y dimensions have > > categorical > > data -- so I only want 3 points on each axis. So I try: > > > > > > re

Re: [R] scatterplot3d with categorical data

2008-01-26 Thread Uwe Ligges
hits=-2.6 tests=BAYES_00 X-USF-Spam-Flag: NO Dear Geoff, scatterplot3d was never intended to draw a plot for categorical data, but you can tweak it as follows: - Note that the help page says (stolen from ?par) "The values of x and y give the (approximate) number of tickmarks on the x and y a

[R] scatterplot3d with categorical data

2008-01-26 Thread Geoff Russell
Dear users, I'm trying to produce a 3d bar plot but the x and y dimensions have categorical data -- so I only want 3 points on each axis. So I try: require(scatterplot3d) mymat<-data.frame( x=c(1,1,1,2,2,2,3,3,3), y=c(1,2,3,1,2,3,1,2,3), z=c(1,2,3,4,5,6,7,8,9)) scatterplot3d(myma