Displaying 15 results from an estimated 15 matches for "plane3d".
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 references to such a function.
Is (or was) plane3d an actual function or is there just a typo in the
scatterplot3...
2010 May 04
1
rgl: plane3d or abline() analog
For use with rgl, I'm looking for a function to draw a plane in an rgl
scene that would function
sort of like abline(a, b) does in base graphics, where abline(0, 1)
draws a line of unit slope through
the origin. Analogously, I'd like to have a plane3d function, so that
plane3d(0, 1, 1) draws a
plane through the origin with unit slopes in x & y and plane3d(3, 0, 0)
draws a horizontal plane
at z=3.
I see that scatterplot3d in the scatterplot3d package returns a
plane3d() *function* for a given
plot. I could probably try to adapt this, but...
2009 Aug 03
2
scatterplot3d bug??
Hey guys,
Not sure if I encountered a bug with the scatterplot3d function.
Here's the calls I made:
s3d1 <- scatterplot3d(TotLogDisttenp,TotDifftenp,TotMeasuredRSLtenp,pch=16,highlight.3d=TRUE,angle=40,type="h",main="MRSL
~ LogDist + Diff");
s3d1$plane3d(fitols);
s3d1 <- scatterplot3d(TotLogDisttenp,TotDifftenp,TotMeasuredRSLtenp,pch=16,highlight.3d=TRUE,angle=130,type="h",main="MRSL
~ LogDist + Diff");
s3d1$plane3d(fitols);
s3d1 <- scatterplot3d(TotLogDisttenp,TotDifftenp,TotMeasuredRSLtenp,pch=16,highlight.3d=TRUE,angle=...
2008 Oct 02
3
Adding plane in a 3D scatterplot
...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 [i.e. like Grid-lines].I already gone through "$plane3d" but could not get through. In the help page, a description is given with a regression line, however I could not understand how I can implement that in my problem.
Any help will be highly appreciate.
Regards,
2002 Mar 18
2
persp(): add second plane (second, long question)
Thank you for your replies so far.
Sorry for bothering you again, but I'm still not able to get what I need as
I don't understand all parts of the replies (just using R for easy
things....).
Is there a code for plane3d() like some of you sent me for points3d()? I was
not able to get that out of the scatterplot3d package...
What I can do is to get the x,y and z-range for the xlim,ylim and zlim so
that the two planes would fit the box (x and y values are the same for both
(1x6vectors)). And I'm able to store...
2008 Oct 23
2
map points from scatterplot3d onto 2d fitted plane
...s3d <- scatterplot3d(trees, type="h", highlight.3d=TRUE,
angle=55, scale.y=0.7, pch=16, main="scatterplot3d - 5")
# Now adding a regression plane to the "scatterplot3d"
attach(trees)
my.lm <- lm(Volume ~ Girth + Height)
s3d$plane3d(my.lm, lty.box = "solid")
[[alternative HTML version deleted]]
2011 Oct 29
0
Redundancy canonical analysis plot problem in 3D using VEGAN
...ble to add " species scores " from RDA results in 3D plot
like i can in 2D plot.
With the code i used , i get errors like ;
ERROR dans t$sites : $ operator is invalid for atomic vectors,
Erreur dans match.arg (display, items) : 'arg' should be one of
?xyz.convert?, ?points3d?, ?plane3d?, ?box3d?, ?points?, ?arrows?
I saw that I can use other functions, but it is impossible to extract
the 3D scores ( and add species to 3d plot ), Other fonctions works
but, add elements in a 2D space.
How can I add the "species scores" (sites and arrows are added
correctly) to the 3D p...
2006 Feb 27
1
4D stacked column chart, Excel -> R
...mple (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 group the points as well,
but I didn't come that far. even the scatterplot3d funtion didn't work for my data (gwx and x is my data table).
仩x <- gw.faelle(gwx)
k3d <- s...
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
2008 Sep 30
0
adding planes/lines to 3d surface plots? (persp, wireframe)
...Alternatively, I could add a line highlighting every point where the
surface passes through z = 0.02.
If anyone has any ideas how to do this (using persp (), wireframe() or
something else), I would greatly appreciate it. The closest thing I can
think of is to use scatterplot3d() and then add a plane3d object, but
I'd like to have a surface rather than a point cloud. I got two surfaces
to appear using persp() and par (new = TRUE), but the second surface
obscures the first.
Thanks,
Sam Yeaman
UBC
Department of Zoology
2011 Oct 27
1
Redundancy canonical analysis plot problem in 3D using VEGAN, RGL, SCATTERPLOT3D and SFSMISC
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20111027/aa73bd4c/attachment.pl>
2002 Mar 14
1
persp(): add second plane
Dear R-users,
is it possible to add a second plane to the persp()-plot? I couldn't find
any hint on that in the news archive...
I'm using R.1.4.1 for Windows.
Thanks in advance,
Nina
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2002 Mar 14
1
persp(): add second plane
Dear R-users,
is it possible to add a second plane to the persp()-plot? I couldn't find
any hint on that in the news archive...
I'm using R.1.4.1 for Windows.
Thanks in advance,
Nina
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
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
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...Re: R formula language---a min and max function? (David Winsemius)
77. Re: R formula language---a min and max function? (ivo welch)
78. Re: R formula language---a min and max function?
(Gabor Grothendieck)
79. Re: R formula language---a min and max function? (David Winsemius)
80. rgl: plane3d or abline() analog (Michael Friendly)
81. Re: rgl: plane3d or abline() analog (David Winsemius)
82. Re: generating correlated random variables from different
distributions (Greg Snow)
83. Re: Agreement (Tobias Verbeke)
84. Error when invoking x11() (Alex Chelminsky)
85. Re: Avoiding...