search for: p1x

Displaying 5 results from an estimated 5 matches for "p1x".

Did you mean: p1
2020 Oct 23
2
3d plot of earth with cut
...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) p0y <- 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 v2...
2020 Oct 23
0
3d plot of earth with cut
...z) 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) > p0y <- 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 > v1...
2012 Nov 26
3
R strange behaviour when building huge concatenation
...int[]) data.get("p2tx"); for(int i = 0; i < utenti.length; i++){ userIds.append(utenti[i]+", "); } //here i check if the stringbuilder ends with, and i clean it...checkSb is simply an utility method userIds = checkSb(userIds).append(");"); code.addIntArray("p1x", ordini); code.addDoubleArray("tx", tx); code.addDoubleArray("t", t); code.addIntArray("p2x", p2x); code.addRCode("cdData<-data.frame(ID , p1x, tx, t, p2x);"); code.addRCode("names(cdData)[2] <- \"x\";"); code.addRCode("bg...
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