search for: clipfn

Displaying 2 results from an estimated 2 matches for "clipfn".

Did you mean: cliff
2020 Oct 22
0
3d plot of earth with cut
...= "white", texture = system.file("textures/worldsmall.png", package = "rgl"), specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab = "", zlab = "", normal_x = x, normal_y = y, normal_z = z) clipFn <- function(coords) { pmax(coords[,1], coords[,2]) # Just an example... } clipObj3d(ids["surface"], clipFn) Filling in the exposed surface could be done with polygon3d(), with some work to construct the polygon. Displaying the function across that surface could be done in a coup...
2020 Oct 21
6
3d plot of earth with cut
Hello, Could someone suggest a package/way to make a 3D raster plot of the Earth (with continent boundaries), and then make a "cut" or "slice" of it such that one can also visualize some scalar quantity as a function of the Radius/Depth across that given slice ? Formally, I would have a given, fixed longitude, and a list of vectors {latitude, radius, Value} that would show