Displaying 4 results from an estimated 4 matches for "p0x".
Did you mean:
0x
2020 Oct 23
2
3d plot of earth with cut
...than plotting all points (e.g. using polygons?).
Best,
Balint
############################################################
# Construct a plane at a given longitude
r <- 6378.1 # radius of Earth in km
fixlong <- 10.0*pi/180.0 # The longitude slice
# Construct a plane in 3D:
# Let vec(P0) = (P0x, P0y, P0z) be a point given in the plane of the
longitude
# let vec(n) = (nx, ny, nz) an orthogonal vector to this plane
# then vec(P) = (Px, Py, Pz) will be in the plane if (vec(P) - vec(P0)) *
vec(n) = 0
# We pick 2 arbitrary vectors in the plane out of 3 points
p0x <- r*cos(2)*cos(fixlong)
p0...
2020 Oct 23
0
3d plot of earth with cut
...> Best,
> Balint
>
> ############################################################
> # Construct a plane at a given longitude
> r <- 6378.1 # radius of Earth in km
> fixlong <- 10.0*pi/180.0 # The longitude slice
>
> # Construct a plane in 3D:
> # Let vec(P0) = (P0x, P0y, P0z) be a point given in the plane of the
> longitude
> # let vec(n) = (nx, ny, nz) an orthogonal vector to this plane
> # then vec(P) = (Px, Py, Pz) will be in the plane if (vec(P) - vec(P0)) *
> vec(n) = 0
> # We pick 2 arbitrary vectors in the plane out of 3 points
> p0x...
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