Displaying 7 results from an estimated 7 matches for "p3d".
Did you mean:
3d
2011 Jul 31
3
R 2.13.1 can't find package binaries on R-Forge
[Env: Win XP]
I've just upgraded from R 2.12.2 to R 2.13.1. As part of my upgrade
process, I typically install some in-development
packages from R-Forge that are not on cran. But for the first time, it
doesn't work.
e.g.,
> install.packages("p3d", repos="http://R-Forge.R-project.org")
trying URL
'http://R-Forge.R-project.org/bin/windows/contrib/2.13/p3d_0.02-2.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL
'http://R-Forge.R-project.org/bin/windows/contrib/2.1...
2010 Jan 26
1
add points to 3D plot using p3d {onion}
Hi,
Can anyone guide me as to how I can add points to a p3d() plot from
the onion package?? I want to plot points with different colors on the
same 3D plot.? Perhaps I can do this without adding points but somehow
directing the 'h' parameter to give different color to points based on
a factor I assign to them?
FYI, I can do this using using scatter...
2008 Apr 11
1
polygons on scatterplot3d
...0,45),fill=TRUE, col='gray')
# note: substitute a simple polygon if you don't have maps and mapdata
# coast<-list()
# coast$x<-c(-70.5,-70.5,-70,-70)
# coast$y<-c(41.2,43,43,41.2)
lat<-c(41,41.5,42,42.5,43)
long<-c(-71,-69.5,-70,-70.2,-69.8)
weight<-c(80,20,30,30,10)
p3d<-scatterplot3d(long, lat, weight, angle=75, type='h', box=FALSE,
asp=1, grid=FALSE)
p3d$points3d(coast$x,coast$y,rep(0, length(coast$x)), type='l',
col='gray')
# Now how to fill this polygon...?
Cheers,
Jon
Mac OS 10.5
R 2.6.2
Intelligence Finite
Jon Loehrke
Grad...
2011 Feb 18
1
plot3d, color points by group
...ssible?
My data look like this:
food group x y z
apple fruit 0.216 -0.112 -0.893
orange fruit 0.814 0.097 0.460
broccoli veg -0.239 0.240 -0.425
banana fruit 0.222 0.968 -0.050
parsnip veg 0.139 0.897 0.378
garlic veg -0.104 0.510 -0.400
pca <- read.table(...
p3d<- plot3d(pca$x, pca$y, pca$z, xlab="Component 1", ylab="Component 2",
zlab="Component 3", col="blue",box=FALSE, size=5)
food.v<-as.vector(pca$food)
text3d(pca$x, pca$y, pca$z, food.v, cex=0.9, adj = 1)
Many thanks,
Leigh
[[alternative HTML version de...
2012 Feb 07
2
3D confidence ellipsoid with ellipse projections onto 2D plane
I have a 3xN matrix of parameters obtained from N regressions where the 3
parameters are jointly statistically significant. I would like to reproduce
a 3D confidence ellipsoid projecting 2D ellipses onto the XY plane as in
Figure 5.2 in this
2006 Feb 01
1
3d from file
Dear all,
sorry if it's obvious but I wasn't able to find a solution by myself.
I have a text file filled with 3 colums representing xyz coodinates
(i.e. positions) of an objects.
Can I have in R a 3d plot representig my object' s positions?
I guess that I can but I don't know how.
Any help is much appreciated
Thanks a lot
-a-
Andrea Valle
DAMS - Facolt?? di Scienze
2006 Feb 16
1
scatterplot3d: how to show scatterpoints in 2D-space with color as 3rd dimension?
Dear Colleagues:
I have 3 numeric variables (say x, y, z) in a data.frame and want to draw a 2D-scatterplot with the 3rd dimension as color, if possible without having to convert the whole thing to an appropiate matrix for image() manually.
Can e.g. scatterplot3d do something like this? There's a function xyz.convert, but I couldn't find the way to use it properly.
Sincerly,