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

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

2017-10-30 Thread Alex Restrepo
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 library("scatterplot3d") mydf=data.frame(rate=seq(158, 314) ,age=seq(1, 157) ,market_date=seq(as.Date("

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

[R] Scatterplot3D in r

2014-07-13 Thread Babak Bastan
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 Y A with A A with B A with C A with D B

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:

[R] scatterplot3d with densCols ?

2013-03-28 Thread Brian Smith
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: - library(scatterplot3d) v1 <- rnorm(1) v2 <- rnorm(1) v3 <- rnorm(1) ## 2D with denscols mat1 <- cbind(v1,v2)

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

[R] scatterplot3d and box3d

2012-11-19 Thread xgao
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) Thanks. Xin __ R-

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

[R] scatterplot3d(); customise axes

2012-04-13 Thread Tonja Krueger
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 axis() for a 2D plot that works with scatterplot3d

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:/

[R] scatterplot3D

2011-09-26 Thread XINLI LI
Is there any way to plot a 3-D scatter plot for two groups on one graph? Thanks, XINLI [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

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

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

2011-06-09 Thread Karthik Kota
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 to extend the condition to assign a color bas

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

[R] scatterplot3d using colors in groups

2011-05-03 Thread Jose Bustos Melo
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 white circles) but I don't know how to change it from here. These are my sentences: myplot3d<- scatterplot3d(

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.

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

2010-10-28 Thread John Coulthard
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. I'm trying to give the image some perspective. Given this code... library(scatterplot3d) data=array(c(0,5,9), c(3,3)) scatterplot3d(data, pch=19, cex.symbols=10-data[,2],

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
r: Not all of us are awake at 2am -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Nair, Murlidharan T Sent: Wednesday, May 13, 2009 3:37 PM To: r-help@r-project.org Subject: [R] scatterplot3d Hi!! I am interested in

Re: [R] scatterplot3d

2009-05-13 Thread Nair, Murlidharan T
ran T Sent: Wednesday, May 13, 2009 3:37 PM To: r-help@r-project.org Subject: [R] scatterplot3d Hi!! I am interested in plotting 3 different (x,y,z) coordinate sets on the same plot. How do I achieve using scatterplot3d? Is there an easy method to call to change the projection or rotate the figur

[R] scatterplot3d

2009-05-13 Thread Nair, Murlidharan T
Hi!! I am interested in plotting 3 different (x,y,z) coordinate sets on the same plot. How do I achieve using scatterplot3d? Is there an easy method to call to change the projection or rotate the figure along a particular axis? The following is the code that plots if one at a time. Any help i

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

[R] scatterplot3d

2009-04-14 Thread Eric Erickson
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 a CC to " r-core-ow...@r-project.org" as I'm not yet certain of the proper address to use for this. I

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

[R] scatterplot3d to display text

2008-02-09 Thread mauroyb0
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 ? My second question is quite well covered by some threads but I haven't been able

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

[R] scatterplot3d + box lines

2008-02-06 Thread Pedro Mardones
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. Thanks PM __ R-help@r-project.org mailing lis

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

Re: [R] Scatterplot3d model reporting question

2007-12-18 Thread John Fox
; -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Max > Sent: December-18-07 2:02 PM > To: [EMAIL PROTECTED] > Subject: [R] Scatterplot3d model reporting question > > I've used the scatterplot3d function to grap

Re: [R] Scatterplot3d model reporting question

2007-12-18 Thread John Fox
/socserv.mcmaster.ca/jfox > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Max > Sent: December-18-07 2:02 PM > To: [EMAIL PROTECTED] > Subject: [R] Scatterplot3d model reporting question > > I've used the sca

[R] Scatterplot3d model reporting question

2007-12-18 Thread Max
I've used the scatterplot3d function to graph some data and had it graph a "smooth" fit. Is there a way to actualy find out the function of the surface? I've looked through the help and figured out how to get it to report the following: Family: gaussian Link function: identity Formula: y ~ s(x