Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Alex Restrepo
Thanks Jim, I will research. I appreciate the response. On Oct 31, 2017, at 9:33 PM, Jim Lemon mailto:drjimle...@gmail.com>> wrote: Well, scatterplot3d might not allow it, but have a look at the second example for staxlab in the plotrix package. Jim On Wed, Nov 1, 2017 at 7:30 AM, Uwe Ligges

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Alex Restrepo
Hello, David, don’t worry about answering this question or any of my inquiries in the future. Not looking for code servants. Definitely not an expert at using the scatter plot 3D library. That being said, I plan on researching rgl as was recommended so kindly on a previous response to my que

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Jim Lemon
Well, scatterplot3d might not allow it, but have a look at the second example for staxlab in the plotrix package. Jim On Wed, Nov 1, 2017 at 7:30 AM, Uwe Ligges wrote: > > > On 31.10.2017 00:56, Alex Restrepo wrote: > ... > 45 degree rotation is not supported in base R graphics and scatterplot3d

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread David Winsemius
> On Oct 31, 2017, at 8:55 AM, Olivier Crouzet > wrote: > > Hi Alex, > > this should be related to the "las" argument of "par()" but > actually it does not seem to be parametered in scatterplot3d. > Searching the net for "scatterplot3d las" provides a link to: > > https://stackoverflow.com/qu

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Uwe Ligges
On 31.10.2017 00:56, Alex Restrepo wrote: Hi, I would like to rotate the x axis tick labels by 45 degrees. Using the code below, could someone please provide an example? Many Thanks In Advance, Alex 45 degree rotation is not supported in base R graphics and scatterplot3d uses that. Y

Re: [R] Scatterplot3d :: Rotating x tick labels by x degrees

2017-10-31 Thread Olivier Crouzet
Hi Alex, this should be related to the "las" argument of "par()" but actually it does not seem to be parametered in scatterplot3d. Searching the net for "scatterplot3d las" provides a link to: https://stackoverflow.com/questions/25458652/specifying-the-orientation-of-the-axes-labels-in-scatterplo

Re: [R] Scatterplot3D in r

2014-07-14 Thread Uwe Ligges
On 13.07.2014 20:30, Babak Bastan wrote: I would like to visualize my data in a scatterplot3d On my X and Y axis, I would like the same labels. Something like this: x<-c("A", "B", "c", "D") y<-c("A", "B", "c", "D") on the Z axis, I would like to show the comparison between labels in X and

Re: [R] scatterplot3d with densCols ?

2013-03-28 Thread Brian Smith
Ah, yes, correct - the option is color. However, I think the problem (i.e. MY problem) is with densCols - I need it to calculate the 3D density! thanks! On Thu, Mar 28, 2013 at 6:52 AM, Pascal Oettli wrote: > Hello, > > According to ?scatterplot3d, the option is 'color', not 'col'. > > scat

Re: [R] scatterplot3d with densCols ?

2013-03-28 Thread Pascal Oettli
Hello, According to ?scatterplot3d, the option is 'color', not 'col'. scatterplot3d(mat,color=mcols,pch=16) HTH, Pascal On 28/03/13 19:41, Brian Smith wrote: Hi, I was trying to make a 3D plot using densCols. The documentation for densCols doesn't look like it'll work for 3D. For example:

Re: [R] scatterplot3d and box3d

2012-11-20 Thread Uwe Ligges
On 19.11.2012 23:34, Ben Bolker wrote: genome.wustl.edu> writes: I created a 3d scatter plot and am trying to change the color of outer box lines with box3d. Anybody can help me to figure out how to do this? My example is: library(scatterplot3d) x=seq(1:6) y=seq(7:12) z=x*2 scatterplot

Re: [R] scatterplot3d and box3d

2012-11-19 Thread Ben Bolker
genome.wustl.edu> writes: > > I created a 3d scatter plot and am trying to change the color of outer box > lines with box3d. > > Anybody can help me to figure out how to do this? > > My example is: > > library(scatterplot3d) > x=seq(1:6) > y=seq(7:12) > z=x*2 > scatterplot3d(x, y,z) This

Re: [R] scatterplot3d and box3d

2012-11-19 Thread Duncan Murdoch
On 12-11-19 12:20 PM, x...@genome.wustl.edu wrote: I created a 3d scatter plot and am trying to change the color of outer box lines with box3d. Anybody can help me to figure out how to do this? My example is: library(scatterplot3d) x=seq(1:6) y=seq(7:12) z=x*2 scatterplot3d(x, y,z) See ?scat

Re: [R] scatterplot3d(); customise axes

2012-04-13 Thread Uwe Ligges
On 13.04.2012 09:52, Tonja Krueger wrote: Hi all! I’m using scatterplot3d() to show the distribution of data for different locations. As I wound like to show distances between the locations and also label the locations, I was wondering whether there is a function similar to

Re: [R] scatterplot3D

2011-09-26 Thread Duncan Murdoch
On 11-09-26 5:14 PM, XINLI LI wrote: Is there any way to plot a 3-D scatter plot for two groups on one graph? If you are using rgl::plot3d, plot the second with add=TRUE. As David said, use colours or something to distinguish. For example, library(rgl) data1 <- matrix(rnorm(30), ncol=3) plo

Re: [R] scatterplot3D

2011-09-26 Thread David Winsemius
On Sep 26, 2011, at 5:14 PM, XINLI LI wrote: Is there any way to plot a 3-D scatter plot for two groups on one graph? Color the points? Thanks, XINLI [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https:/

Re: [R] scatterplot3d - help assign colors based on multiple conditions

2011-06-10 Thread Karthik Kota
Thanks! That did the trick. On Jun 10, 2011, at 3:16 AM, Jim Lemon wrote: > On 06/10/2011 06:40 AM, Karthik Kota wrote: >> Thanks a lot! This is very helpful. >> >> If I have to extend this to one more condition say assign "blue" if both the >> corresponding labels have "_Tongue_dorsum", is t

Re: [R] scatterplot3d - help assign colors based on multiple conditions

2011-06-10 Thread Jim Lemon
On 06/10/2011 06:40 AM, Karthik Kota wrote: Thanks a lot! This is very helpful. If I have to extend this to one more condition say assign "blue" if both the corresponding labels have "_Tongue_dorsum", is there a straight forward function. Doing something like below is overriding the colors ass

Re: [R] scatterplot3d - help assign colors based on multiple conditions

2011-06-10 Thread Uwe Ligges
On 09.06.2011 22:40, Karthik Kota wrote: Thanks a lot! This is very helpful. If I have to extend this to one more condition say assign "blue" if both the corresponding labels have "_Tongue_dorsum", is there a straight forward function. Doing something like below is overriding the colors assi

Re: [R] scatterplot3d - help assign colors based on multiple conditions

2011-06-09 Thread Karthik Kota
Thanks a lot! This is very helpful. If I have to extend this to one more condition say assign "blue" if both the corresponding labels have "_Tongue_dorsum", is there a straight forward function. Doing something like below is overriding the colors assigned by the first statement. col <- ifelse

Re: [R] scatterplot3d - help assign colors based on multiple conditions

2011-06-09 Thread Uwe Ligges
On 09.06.2011 16:51, Karthik Kota wrote: Hi I am relatively new to R and am trying to figure out to plot 3d scatter plot using defined colors based on x-axis and y-axis values. Right now in the code below, I assign colors based on certain values in the names of the x-axis. Now if I want t

Re: [R] scatterplot3d using colors in groups

2011-05-03 Thread Duncan Mackay
At 10:15 04/05/2011, you wrote: Content-Type: text/plain Content-Disposition: inline Content-length: 537 Hi everyone, I would like to improve my plot and I was wondering if someone can help me whith it. I'm trying this plot using two groups, but I want to choice the colors (the black and whi

Re: [R] scatterplot3d; scaling point symbols to depth of graph

2010-10-29 Thread Uwe Ligges
I had a look: I fixed it 5 months ago and forgot to make a new release. The version on R-forge contains the fix already. New release on its way to CRAN. Best wishes; Uwe On 28.10.2010 11:28, John Coulthard wrote: Hi I'm trying to scale the point symbols on a 3d plot so that the ones at the

Re: [R] scatterplot3d; scaling point symbols to depth of graph

2010-10-28 Thread Uwe Ligges
It's a bug (since I did not expect people to change the size of the symbols vectorized). Will provide a fix tomorrow. Uwe On 28.10.2010 11:28, John Coulthard wrote: Hi I'm trying to scale the point symbols on a 3d plot so that the ones at the front are larger than the ones at the back.

Re: [R] scatterplot3d bug??

2009-10-15 Thread Uwe Ligges
Uwe Ligges wrote: I finally found some time to look at it: Yes, it does not work properly for angles > 180 degrees. Will try to find a fix and make a new release soon. Late, but finally the fixed version is on its way to CRAN. Best wishes, Uwe Ligges Best wishes, Uwe Ligges Vivek Ay

Re: [R] scatterplot3d bug??

2009-08-25 Thread Vivek Ayer
Great! Thanks again! Vivek 2009/8/25 Uwe Ligges : > I finally found some time to look at it: > > Yes, it does not work properly for angles > 180 degrees. Will try to find a > fix and make a new release soon. > > Best wishes, > Uwe Ligges > > > Vivek Ayer wrote: >> >> Hey guys, >> >> Not sure if I

Re: [R] scatterplot3d bug??

2009-08-25 Thread Uwe Ligges
I finally found some time to look at it: Yes, it does not work properly for angles > 180 degrees. Will try to find a fix and make a new release soon. Best wishes, Uwe Ligges Vivek Ayer wrote: Hey guys, Not sure if I encountered a bug with the scatterplot3d function. Here's the calls I made

Re: [R] scatterplot3d bug??

2009-08-04 Thread Uwe Ligges
Will take a look when back from holidays in 2 weeks. Uwe David Winsemius wrote: Not sure you can call it a bug when the help page says for angles in range (180, 360) that some support functions may "not work properly". On Aug 3, 2009, at 2:12 PM, Vivek Ayer wrote: Hey guys, Not sure if

Re: [R] scatterplot3d bug??

2009-08-03 Thread David Winsemius
Not sure you can call it a bug when the help page says for angles in range (180, 360) that some support functions may "not work properly". On Aug 3, 2009, at 2:12 PM, Vivek Ayer wrote: Hey guys, Not sure if I encountered a bug with the scatterplot3d function. Here's the calls I made: s3d1

Re: [R] scatterplot3d

2009-05-14 Thread Nair, Murlidharan T
-Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Thursday, May 14, 2009 4:44 AM To: Nair, Murlidharan T Cc: r-help@r-project.org Subject: Re: [R] scatterplot3d Nair, Murlidharan T wrote: > Does anyone have any suggestion on this? I tried par(new

Re: [R] scatterplot3d

2009-05-14 Thread Uwe Ligges
Nair, Murlidharan T wrote: Does anyone have any suggestion on this? I tried par(new="T") It does not seem to work with scatterplot3d. Any suggestion is appreciated. Cheers../Murli Please be patient for a day or two before expecting a reply. If you expect some Europeans to answer: Not all o

Re: [R] scatterplot3d

2009-05-13 Thread Nair, Murlidharan T
Does anyone have any suggestion on this? I tried par(new="T") It does not seem to work with scatterplot3d. Any suggestion is appreciated. Cheers../Murli -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Nair, Murlidharan T Sent: Wed

Re: [R] scatterplot3d

2009-04-15 Thread Uwe Ligges
See ?scatterplot3d and learn to specify the argument type="h" Uwe Ligges Eric Erickson wrote: Dear R-help, I am having trouble with your scatterplot3d program. For help with this problem I was directed to your address by Martin Maechler at " r-core-boun...@r-project.org." I'm also sending

Re: [R] scatterplot3d to display text

2008-02-09 Thread Uwe Ligges
mauroyb0 wrote: > Dear all, > > I'm looking for a way to display text (label) in a scatterplot3d instead of > the default dot. I mean someting like the text() function which can be > associated with plot(). Do you think this is possible ? Yes, it is, type: vignette("s3d", "scatterplot3d") a

Re: [R] scatterplot3d + box lines

2008-02-06 Thread Duncan Murdoch
On 2/6/2008 10:07 AM, Pedro Mardones wrote: > Dear all; > I've been trying to change the type of line used to draw the box > around the 3d scatterplot (package scatterplot3d) from lty=1 to lty=2 > without sucess. I would appreciate suggestions of how to do it. Use lty.axis=2. (This is mentioned o

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

Re: [R] Scatterplot3d model reporting question

2007-12-18 Thread John Fox
Dear Max, I'm guessing that you're actually using scatter3d() in the Rcmdr package rather than scatterplot3d(), since the latter, I believe, doesn't fit regression surfaces. If I'm right, then as it says in ?scatter3d, the smooth surface is fit by the gam() function in the mgcv package using a

Re: [R] Scatterplot3d model reporting question

2007-12-18 Thread John Fox
Dear Max, I'm guessing that you're actually using scatter3d() in the Rcmdr package rather than scatterplot3d(), since the latter, I believe, doesn't fit regression surfaces. If I'm right, then as it says in ?scatter3d, the smooth surface is fit by the gam() function in the mgcv package using a