Displaying 5 results from an estimated 5 matches for "v1z".
Did you mean:
v1
2020 Oct 23
2
3d plot of earth with cut
...;- r*cos(2)*sin(fixlong)
p0z <- r*sin(2)
p1x <- r*cos(2.5)*cos(fixlong)
p1y <- r*cos(2.5)*sin(fixlong)
p1z <- r*sin(2.5)
p2x <- r*cos(3)*cos(fixlong)
p2y <- r*cos(3)*sin(fixlong)
p2z <- r*sin(3)
# Make the vectors pointing to P and P0
v1x <- p1x - p0x # P
v1y <- p1y - p0y
v1z <- p1z - p0z
v2x <- p2x - p0x # P0
v2y <- p2y - p0y
v2z <- p2z - p0z
# The cross product will give a vector orthogonal to the plane, (nx, ny, nz)
nx <- v1y*v2z - v1z*v2y;
ny <- v1z*v2x - v1x*v2z;
nz <- v1x*v2y - v1y*v2x;
# normalize
nMag <- sqrt(nx*nx + ny*ny + nz*nz);
nx &...
2020 Oct 23
0
3d plot of earth with cut
...1x <- r*cos(2.5)*cos(fixlong)
> p1y <- r*cos(2.5)*sin(fixlong)
> p1z <- r*sin(2.5)
> p2x <- r*cos(3)*cos(fixlong)
> p2y <- r*cos(3)*sin(fixlong)
> p2z <- r*sin(3)
> # Make the vectors pointing to P and P0
> v1x <- p1x - p0x # P
> v1y <- p1y - p0y
> v1z <- p1z - p0z
> v2x <- p2x - p0x # P0
> v2y <- p2y - p0y
> v2z <- p2z - p0z
>
> # The cross product will give a vector orthogonal to the plane, (nx, ny, nz)
> nx <- v1y*v2z - v1z*v2y;
> ny <- v1z*v2x - v1x*v2z;
> nz <- v1x*v2y - v1y*v2x;
> # normalize...
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
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...vPL}vNsD97X{@~DT0D7i
z=gBWBCdNX45dc7ufjN05?i3_l#loZf0=`|nAY86pd=?<8nY+Cd^vPx$s!9p*I8WPv
zqqMAl0u%L<ELaf^cbu&2LD~KGP0D&7o(djkfG}4om9up^-MB7Yx`?x9&lUm$11n7n
zMMXvN$}6uB7Z=CexpSE`X%dRcG#;t}M@L7#|NeUh4<5|m!Gmeqc0Kdv3}yU~KR|l?
zPZp1a_5|(Q&SA+C*nKjMh#(W}9SgB{)DVb<k`hQu*-h$>BV1ZO89`-&W0S5pguZ}%
z!}jG=E-S*w+6niFA!rJ-G0HzIA2%$aFeO&DT~HaK69p;?v{@NYSfs)!OrBoKIDe3g
z<ScH84biI9TxisSQOWP(796hsT<7+4E}(MxbCp<(Q+71AdP;w@E*~e=G8m1bOoqX(
z<R+NfqcoPM&N9v)<g8`eDqYP=m8R%Q<li4-Q*(@TkH2t5B^J{#YbUOSF}P^s&<bj@
zF(=WaK3B{`NjCDXQE%nyz_7Rw+q6V%Q{%BoOO(lG8!Af...