Re: [R] rgl: plot3d and ellipse3d

2008-09-17 Thread Duncan Murdoch
On 9/17/2008 9:40 AM, Michael Friendly wrote: Yihui Xie wrote: Hi Michael, You need to specify both 'box' and 'axes' to FALSE to avoid the box lines (if you don't specify the latter one, there will still be axes lines). Hi Yihui I tried several variations, none of which would simply add t

Re: [R] rgl: plot3d and ellipse3d

2008-09-17 Thread Yihui Xie
No, I mean in plot3d(): plot3d(trees, type="s", size=0.5, col="blue", cex=2, box=FALSE, axes=FALSE) not in ellipse3d() Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037,

Re: [R] rgl: plot3d and ellipse3d

2008-09-17 Thread Michael Friendly
Yihui Xie wrote: Hi Michael, You need to specify both 'box' and 'axes' to FALSE to avoid the box lines (if you don't specify the latter one, there will still be axes lines). Hi Yihui I tried several variations, none of which would simply add the ellipse and nothing else to the original p

Re: [R] rgl: plot3d and ellipse3d

2008-09-17 Thread Yihui Xie
Hi Michael, You need to specify both 'box' and 'axes' to FALSE to avoid the box lines (if you don't specify the latter one, there will still be axes lines). Best, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.

[R] rgl: plot3d and ellipse3d

2008-09-17 Thread Michael Friendly
Hi I'm trying to make a 3d plot showing a point cloud, the corresponding data ellipse and the principal axes of the ellipse as vectors. library(rgl) data(trees) cov <- cov(trees) mu <- mean(trees) plot3d(trees, type="s", size=0.5, col="blue", cex=2) In this step, an extra box is added. I've