search for: planes3d

Displaying 7 results from an estimated 7 matches for "planes3d".

Did you mean: plane3d
2011 May 11
1
Adding reference line or plane to cloud or wireframe
All, I am wondering how one might add a reference line or plane to a cloud or wireframe plot. I have been unable to figure this out. Let's say I would like to draw a reference for some value of wt in the example below: cl <- 54.1 age <- 10:80 wt <- 25:160 sim <- expand.grid(age = age,wt = wt) sim$cl <- cl*(sim$wt/70)**0.412 * (sim$age/50)**0.152
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
2023 Jan 26
1
Failing to install the rgl package
...s("rgl") library(rgl) y_hat = X%*%B_hat open3d(windowRect = c(100,100,900,900),family = "serif") color = rainbow(length(y_hat))[rank(y_hat)] plot3d(educ,exper,wage,col = color,type = "s",size = 0.5,xlim = c(0,20),ylim = c(0,60),zlim = c(-10,70),box = FALSE,axes = TRUE) planes3d(B_hat[2],B_hat[3],-1,B_hat[1],alpha = 0.5,col = "azure") ------------------------------------------------------------------------- > install.packages("rgl") trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/rgl_1.0.1.tgz' Content type 'application/x-g...
2020 Oct 23
2
3d plot of earth with cut
..."textures/world.png", package = "rgl"), specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z = z) # Plot the plane across the longitude slice #planes3d(a, b, c, d, alpha = 0.6) # optionally visualize the plane # Apply clipping to only one side of the plane using the normal vector clipplanes3d(a, b, c, d) # Map something onto this plane - how? Let's try with rgl.points and mapping the colors # The data is: data_activity and variables are $X, $...
2020 Oct 23
0
3d plot of earth with cut
...ge = > "rgl"), > specular = "black", axes = FALSE, box = FALSE, xlab = "", > ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z > = z) > > # Plot the plane across the longitude slice > #planes3d(a, b, c, d, alpha = 0.6) # optionally visualize the plane > # Apply clipping to only one side of the plane using the normal vector > clipplanes3d(a, b, c, d) > > # Map something onto this plane - how? Let's try with rgl.points and > mapping the colors > # The data is: data_ac...
2020 Oct 22
0
3d plot of earth with cut
> It should be a 2D slice/plane embedded into a 3D space. I was able to come up with the plot, attached. My intention was to plot national boundaries on the surface of a sphere. And put the slice inside. However, I haven't (as yet) worked out how to get the coordinates for the boundaries. Let me know, if of any value. And I'll post the code. (But needs to be polished first)
2020 Oct 22
2
3d plot of earth with cut
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D space. Could be static, I just need to make a single figure from it for illustration of the Earth together with its interior in 3D. So, the interior would be a slice in 2D along a fixed longitude. And along this 2D slice would be a heatmap. Again, embedded in 3D, since it would be shown as a slice of Earth in 3D. Duncan?s