Displaying 4 results from an estimated 4 matches for "data_act".
Did you mean:
data_ac
2020 Oct 23
2
3d plot of earth with cut
...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, $Y, $Z, $Ar
library(leaflet)
# map the colors to the data values
pal <- colorNumeric(
palette = "Blues",
domain = data_activity$Ar) #
# plot the points and the mapped colors
rgl.points( data_activity$X, data_activity$Y, data_activity$Z, color =
pal(data_a...
2020 Oct 23
0
3d plot of earth with cut
...lanes3d(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, $Y, $Z, $Ar
> library(leaflet)
> # map the colors to the data values
> pal <- colorNumeric(
> palette = "Blues",
> domain = data_activity$Ar) #
> # plot the points and the mapped colors
> rgl.points( data_activity$X, data_activity$Y...
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