search for: s3d

Displaying 20 results from an estimated 28 matches for "s3d".

Did you mean: 3d
2008 Oct 23
2
map points from scatterplot3d onto 2d fitted plane
...tter plot (below) I have fitted a regression plane. Now what I would like to do is a rotation so that my new co-ordinate system is about the fitted plane (by finding the normal to the plane using crossprod?) and then map the data points onto this plane. I played with the function xyz.convert from s3d but i think this is mapping to the xy plane whereas i would like to map onto my fitted plane. Is there a package/function that can help me do this that I have missed? or does anyone have any suggestions / sample code to get me started in the right direction? Thanks very much for your help! Jacquel...
2002 Jul 03
2
grouping in scatterplot3d
Hi all, I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is anyway to group the points according to a particular group variable. For example I used the plot function as plot( factor( <GROUPINGVAR> ) , <PLOTVARS> ) to organise the results in a according to the grouping variable. I was wondering
2008 Oct 02
3
Adding plane in a 3D scatterplot
I have drawn a 3D scatter plot : library(mnormt) library(scatterplot3d) dat = cbind(rmnorm(3, rep(0,2), diag(2)), 1:3) scatterplot3d(dat) Now I want to do 2 things : 1 : In the Z-axis (i.e. height), I want to see only numbers 1,2,3, etc NOT, 1,1.5,2,2.5............. 2. I want to add two Horizontal planes at hight z=2 and z=3. Those two planes should look like "bottom" of that 3D plot
2001 Mar 13
1
3d plots of mca() results?
Greetings. I'm about to embark on my first big (to me at least!) R project, which will be to write a function to plot three-dimensional multiple correspondence analysis (mca) plots in a manner similar to scatterplot3d(). (plot.mca() plots only two dimensions, even though mca() will calculate more.) Before I do so, however, I would love to know that I'm not reinventing the wheel or any
2008 Jul 24
1
Problem with scatterplot3d example
I tried to run the following example from section 4.1.4 of the "Scatterplot3d - an R package for Visualizing Multivariate Data" vignette and got an error on the part that plots the regression plane: > library(scatterplot3d) > data(trees) > s3d <- scatterplot3d(trees, type = "h", color = "blue", + angle = 55, scale.y = 0.7, pch = 16, main = "Adding elements") > my.lm <- lm(trees$Volume ~ trees$Girth + trees$Height) > s3d$plain3d(my.lm) Error: attempt to apply non-function > s3d$points3d(seq(1...
2012 Jul 23
3
3D scatterplot, using size of symbols for the fourth variable
..."data.frame", row.names = c(NA, -31L)) > #This is the code I used for displaying the 4th variable as a colour; I just followed an example from the package manual library(scatterplot3d) Dstarscale <- hsv((Dstar <- 0.7 * Dstar/ diff(range(Dstar))) - min(Dstar) + 0.3) Dstarscale s3d <- scatterplot3d(MI, TD, EG_18, type = "h", pch = " ") s3d$points(MI, TD, EG_18, pch = 16, col = Dstarscale) s3d.coords <- s3d$xyz.convert(MI, TD, EG_18) plot(seq(min(Dstarscale), max(Dstarscale), length = 100), rep(0, 100), pch = 15, axes = FALSE, xlab = "color...
2012 Nov 19
1
[LLVMdev] OptimizeMemoryInst(...) scaling
Hey guys, I'm working on the S3D Benchmark and notice that CodeGenPrepare::OptimizeMemoryInst(...) in lib/Transforms/Scalar/CodeGenPrepare.cpp isn't scaling well. A whopping 99.3% of the compilation time for one file is spent in this function. The User Time for this compilation is 3166 seconds with a stock LLVM 3.1. If I disab...
2008 May 13
1
3dscatterplot -different colors for different factors of the same variable
...w in the plot taking information of "time", "X" and "Y". The colors of these points should be assigned according to the information contained in variable "obj". What I did but it didn't work out is: 1) Plotting only one set of points (the green one) s3d<-scatterplot3d(greenpts[,3],greenpts[,2],greenpts[,4],type="p",scale.y=4, angle=10, color="green") and try to overlay the others (as you normally would do with "plot"): s3d$points3d(redpts[,3],redpts[,2],redpts[,4],col="red",type="o") s3d$poi...
2011 Sep 26
1
Wine & HD3D S3D Stereo 3D, Stereoscopic 3D ?
http://www.amd.com/us/products/technologies/amd-hd3d/Pages/how-it-works.aspx Games: http://tridef.com/ignition/3d-games.html http://www.iz3d.com/games Desktop: http://forums.fedoraforum.org/showthread.php?t=241306 Wiki: http://en.wikipedia.org/wiki/3-D_film
2002 Jun 27
1
using identify() with scatterplot3d()
Dear all I am running R 1.4.1 on a Linux box. I have tried to label data points in a 3-d scatterplot, but without much success. What I did was as follows: > scatterplot3d(x, y, z) > identify(x, y, z, row.names(Data)) When I tried to click on/near the data points, I either receive this msg: warning: no point with 0.25 inches, or some numbers in Data, not the row names, come up on the
2005 May 31
2
plane3d
I am attempting to fit a logistic regression plane to a 3-D scatterplot (which was generated using scatterplot3d). I've noticed that the help pages of scatterplot3d include a function titled "plane3d." However, when I attempt to use the function, I get the following message: Error: couldn't find function "plane3d" I've searched the archives and found no
2002 Jun 20
2
scatterplot3d
Hello, I am trying to replicate example 4 in the package 'scatterplot3d': s3d.dat_data.frame(cols=as.vector(col(my.model4)), rows=as.vector(row(my.model4)), value=as.vector(my.model4)) scatterplot3d(s3d.dat, type="h", lwd=5, pch=" ", x.ticklabs=colnames(my.model4), y.ticklabs=rownames(my.model4), main="Conditional probabilities, Model 3")...
2002 Aug 12
1
question about cloud() in lattice package
...the plot (like a 3d version of the boxplot() function). I was just wondering whether there is any way of representing such information with the cloud() function. Is there a way I can draw lines along each axis on the plot. Any help would be greatly appreciated. Many Thanks Rishabh THE SCRIPT: s3d <- scatterplot3d(x, y, z, type="n", xlab="x", ylab="y", zlab="z") for (g in unique(G)) { bxp.stx <- boxplot.stats(x[G==levels(G)[g]]) bxp.sty <- boxplot.stats(y[G==levels(G)[g]]) bxp.stz <- boxplot.stats(z[G==levels(G)[g]]) lines(...
2006 Feb 27
1
4D stacked column chart, Excel -> R
...h. Each column should be a stacked column with more colors, so that every color shows one repair month. I tried to do it with the scatterplot3d function after I saw this example (it is from uwe ligges book): install.packages("scatterplot3d") library("scatterplot3d") data(trees) s3d <- scatterplot3d(trees, type = "h", angle = 55, scale.y = 0.7, pch = 16, main = "trees") my.lm <- with(trees, lm(Volume ~ Girth + Height) ) s3d$plane3d(my.lm, lty.box = "solid" ) Normally I just have to group the ranges which show the km in 10000 blocks and grou...
2010 Feb 03
1
how to combine 2 3d scatterplots in R
hi, I am new to R and i have managed to create 2 3d scatterplots with R and Iwaswondering if there is a way to connect them. I was also wondering how i can add arrows to the plot similar to the 2d comment arrows()? -- View this message in context: http://n4.nabble.com/how-to-combine-2-3d-scatterplots-in-R-tp1461485p1461485.html Sent from the R help mailing list archive at Nabble.com.
2009 May 21
1
Axis Limits in Scatterplot3d
Hi, How do you obtain the limits of the plotting region in a scatterplot3d plot? `par('usr')' does not seem to give sensible values, and that vector only has 4 elements (not the expected 6). Alan
2012 Jul 31
2
drawing a specific "plane" with scatterplot3d
Dear All,   using the example from the package scatterplot3d I created a 3d plot as follows:   x <-rnorm(500,50,2) y <-rnorm(500,5,1) z <-rnorm(500,6,1) scatterplot3d(x, y, z, highlight.3d=TRUE, col.axis="blue",col.grid="lightblue", main="scatterplot3d - 1", pch=20)   I would like to ask if anyone could help me with the following:   1. I would like to draw  a
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x 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. You can use par(las=2) before your code and get them rrotated by 90 degrees, or you can add them individually by s3d <- scatterplot3d(.... Afterwards you could try along trhese lines: par(xpd=TRUE) text(s3d$xyz.convert(desired positions of labels in 3D coordinate system), labels, angle=45) (untested) Best, Uwe Ligges > > library("scatterplot3d") > mydf=data.frame(rate=seq(158, 314...
2007 Sep 24
1
urgent for R graphics
Hi, everyone, I am green with R. Now I am working on a graphics projects. I have a dataset: ----------------------- a b c 1 228 83 6.69 2 274 83 7.36 3 320 83 8.86 4 366 83 7.36 5 412 83 6.81 6 228 129 5.58 --------------------- I want to draw a 3d graphic. I use the code __________________
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users, How to use the function polygon() together with the package scatterplot3d? I am trying to color below of the curves defined for the function density(). I tried to use the site: R GRAPH GALLERY as tutorial. I tried to adapt the example of this page: [figure]: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30 [code]: