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!
