how to plot a point on a sphere.
이전 댓글 표시
hi everybody..
I have a sphere with r=12.6 and center in [0 0 0]....I have on the plane z=-15 a series of points that i should plot on the sphere surface keeping into account the arclength of this projection the projection is centerd in (0 0 -15).. I've started with finding the angle that generates such a projection... arclength+radius*angle
but now i dont know what to do
댓글 수: 7
darova
2019년 10월 7일
You can use cart2sph to find spherical coordinates of your points
Once you found angles you can just change radius and return to cartesian
You want to project your points of a sphere?
luca antonioli
2019년 10월 8일
Bjorn Gustavsson
2019년 10월 8일
If you really have the projection point as you claimed, you will have to explain what type of projection you want - it is not obvious how to project points on a plane with z = -15 onto a sphere with radius 12.6, when the projection point lies in that plane.
luca antonioli
2019년 10월 8일
luca antonioli
2019년 10월 8일
편집: Adam Danz
2019년 10월 8일
darova
2019년 10월 8일
Use this simple scheme to get Z coordinate

Adam Danz
2019년 10월 8일
I'm wondering the same thing Bjorn Gustavsson is wondering. If the floor plane was at depth -12.6 I could understand how you want to wrap the coordinate to the sphere. But the floor plane is at -15 which would give it a different radius.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
