Re: [R] scatter3D and colours

2016-07-14 Thread Jorge I Velez
Thank you very much, Sarah, for your help. The colvar argument was certainly what I needed. I will follow your suggestion. Cheers, Jorge.- On Thu, Jul 14, 2016 at 1:29 PM, Sarah Goslee wrote: > I assume you want some variant of: > with(d0, scatter3D(X, Z, Y, bty = "b2", col = cols, colvar =

Re: [R] scatter3D and colours

2016-07-14 Thread Sarah Goslee
I assume you want some variant of: with(d0, scatter3D(X, Z, Y, bty = "b2", col = cols, colvar = c(1, 2, 3), pch = 20, cex = 4, ticktype = "detailed", colkey = FALSE, phi = 20, theta = -140, zlim = c(-14, 14), xlim = c(-14, 14), ylim = c(-14, 14), xlab = "X", ylab = "Z", zlab = "Y", CI =

[R] scatter3D and colours

2016-07-14 Thread Jorge I Velez
Dear R-help, I am using the plot3D package to produce 3D spheres along with 95% CIs distinguishing each sphere with a predefined colour (see the reproducible example at the end). I have been successful in producing a similar plot using a different data set (kindly see https://www.dropbox.com/s/sn

Re: [R] scatter3d

2015-10-05 Thread Jeff Tostenrude
tmund.de] > > Sent: October 3, 2015 3:24 PM > > To: Jeff Tostenrude ; Fox, John > > > Cc: r-help@r-project.org; Duncan Murdoch > > Subject: Re: [R] scatter3d > > > > > > > > On 03.10.2015 17:53, Jeff Tostenrude wrote: > > > Thank

Re: [R] scatter3d

2015-10-03 Thread Fox, John
Dear Uwe, > -Original Message- > From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] > Sent: October 3, 2015 3:24 PM > To: Jeff Tostenrude ; Fox, John > Cc: r-help@r-project.org; Duncan Murdoch > Subject: Re: [R] scatter3d > > > > On 03.10.201

Re: [R] scatter3d

2015-10-03 Thread Uwe Ligges
ober 2, 2015 11:46 PM > To: Fox, John mailto:j...@mcmaster.ca>> > Cc:r-help@r-project.org <mailto:r-help@r-project.org> > Subject: Re: [R] scatter3d > > Thank you for the suggestion. Yes, it does seem to be a bit counter-intuitive, but > that is

Re: [R] scatter3d

2015-10-03 Thread Jeff Tostenrude
mail.com] > > Sent: October 2, 2015 11:46 PM > > To: Fox, John > > Cc: r-help@r-project.org > > Subject: Re: [R] scatter3d > > > > Thank you for the suggestion. Yes, it does seem to be a bit > counter-intuitive, but > > that is the output I am being asked to pr

Re: [R] scatter3d

2015-10-03 Thread Fox, John
Dear Jeff, > -Original Message- > From: Jeff Tostenrude [mailto:climberj...@gmail.com] > Sent: October 2, 2015 11:46 PM > To: Fox, John > Cc: r-help@r-project.org > Subject: Re: [R] scatter3d > > Thank you for the suggestion. Yes, it does seem to be a bit

Re: [R] scatter3d

2015-10-03 Thread Uwe Ligges
the link to scatter3d. I hope this helps, John - John Fox, Professor McMaster University Hamilton, Ontario Canada L8S 4M4 Web: socserv.mcmaster.ca/jfox -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jeff Tostenrude Sent: October 2,

Re: [R] scatter3d

2015-10-03 Thread Duncan Murdoch
, Ontario >> Canada L8S 4M4 >> Web: socserv.mcmaster.ca/jfox >> >> >> >>> -Original Message- >>> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jeff >>> Tosten

Re: [R] scatter3d

2015-10-03 Thread Uwe Ligges
[mailto:r-help-boun...@r-project.org] On Behalf Of Jeff Tostenrude Sent: October 2, 2015 7:34 PM To: r-help@r-project.org Subject: [R] scatter3d I am using scatter3d in R Commander to plot a group of regression surfaces. However, I only want to display the surfaces. How do I remove the points?

Re: [R] scatter3d

2015-10-02 Thread Jeff Tostenrude
> John Fox, Professor > McMaster University > Hamilton, Ontario > Canada L8S 4M4 > Web: socserv.mcmaster.ca/jfox > > > > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jeff > > Tostenrude > > S

Re: [R] scatter3d

2015-10-02 Thread Jeff Newmiller
Wouldn't you just stop using scatter3d? --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead:

Re: [R] scatter3d

2015-10-02 Thread Fox, John
ntario Canada L8S 4M4 Web: socserv.mcmaster.ca/jfox > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jeff > Tostenrude > Sent: October 2, 2015 7:34 PM > To: r-help@r-project.org > Subject: [R] scatter3d > > I am using scatter3d in R

[R] scatter3d

2015-10-02 Thread Jeff Tostenrude
I am using scatter3d in R Commander to plot a group of regression surfaces. However, I only want to display the surfaces. How do I remove the points? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] scatter3d: problem with spheres-color

2012-04-13 Thread René Mayer
I get the rgb-a are the same rgb-a's: spheres3d(1:5, 1:5, 1:5, col=1:5, radius=(1:5)/10) rgl.ids() idtype 1 11 spheres rgl.attrib(11, "color") r g b a [1,] 0 0.000 0 1 [2,] 1 0.000 0 1 [3,] 0 0.8039216 0 1 [4,] 0 0.000 1 1 [5,] 0 1.000 1 1 as all sheres are

Re: [R] scatter3d: problem with spheres-color

2012-04-13 Thread Duncan Murdoch
On 12-04-13 5:32 AM, René Mayer wrote: Dear John and Duncan, thanks for your ideas! Unfortunatly, calling spheres from rgl did not resolve the problem on my machine. Both - spheres3d() and rgl.spheres() - behave the same: black spheres, all aqual colored. The only difference beeing the looking

Re: [R] scatter3d: problem with spheres-color

2012-04-13 Thread René Mayer
Dear John and Duncan, thanks for your ideas! Unfortunatly, calling spheres from rgl did not resolve the problem on my machine. Both - spheres3d() and rgl.spheres() - behave the same: black spheres, all aqual colored. The only difference beeing the looking angle and thebackround color. Seems to m

Re: [R] scatter3d: problem with spheres-color

2012-04-12 Thread John Fox
Dear Duncan, I'm now home and have access to Windows and Mac OS X systems, but not Ubuntu. scatter3d(prestige ~ income + education | type, data=Prestige) works perfectly fine on both the Windows and Mac systems, as do the rgl.spheres() and spheres3d() commands that you suggested trying. I thin

Re: [R] scatter3d: problem with spheres-color

2012-04-12 Thread Duncan Murdoch
On 12/04/2012 2:27 PM, John Fox wrote: Dear René, I've confirmed that the spheres aren't coloured correctly on my Ubuntu system (the first colour is used for all of the spheres), and I know that this works right on Windows, as you mentioned. I'm curious to try it on my Mac, but don't have tha

Re: [R] scatter3d: problem with spheres-color

2012-04-12 Thread John Fox
Dear René, I've confirmed that the spheres aren't coloured correctly on my Ubuntu system (the first colour is used for all of the spheres), and I know that this works right on Windows, as you mentioned. I'm curious to try it on my Mac, but don't have that handy at the moment. I also looked at

Re: [R] scatter3d: problem with spheres-color

2012-04-12 Thread Steve_Friedman
Sent by: r-help@r-project.org r-help-bounces@r- cc project.org Subject

[R] scatter3d: problem with spheres-color

2012-04-12 Thread René Mayer
Dear List, I don't get scatter3d to color the sheres according to the '|' argument. library(car) scatter3d(prestige ~ income + education|type, data=Prestige) The spheres on my screen are all colored the same and they are not conditional on Prestige$type. On the other hand: Fit3d and Ellipse3d ar

Re: [R] scatter3d with groups

2009-12-02 Thread David Winsemius
On Dec 2, 2009, at 5:01 PM, Philippe Thomas wrote: David Winsemius schrieb: On Dec 2, 2009, at 4:09 PM, Philippe Thomas wrote: Dear R users, I'm currently visualizing my data using scatter3d from the "Rcmdr" package. I have data points which can be separated in two classes. Data point

Re: [R] scatter3d with groups

2009-12-02 Thread David Winsemius
On Dec 2, 2009, at 4:09 PM, Philippe Thomas wrote: Dear R users, I'm currently visualizing my data using scatter3d from the "Rcmdr" package. I have data points which can be separated in two classes. Data points from class 'A' should be colourised red and data points in class 'B' should

[R] scatter3d with groups

2009-12-02 Thread Philippe Thomas
Dear R users, I'm currently visualizing my data using scatter3d from the "Rcmdr" package. I have data points which can be separated in two classes. Data points from class 'A' should be colourised red and data points in class 'B' should be colourised 'blue'. No matter what I try, the data poin