plot in spherical coordinate
이전 댓글 표시
Hello I have a question about demonstrating my point in spherical coordinate. My Question is about acquiring plot in spherical coordinates. In fact, i found the distance of my object in rectangular coordinates by this equation:
{r}= h^2/mu*(1+e.cos(theta) * { cos(theta); sin(theta); 0}
And in the next step i transfered them to spherical coordinates by this code:
[teta,phi,r]=cart2sph(r(1),r(2),r(3))
Now, i want to plot my data in spherical coordinates. How can I do this? Would you please help me? Regards
댓글 수: 2
KSSV
2017년 5월 4일
You convert spherical coordinates to Cartesian and plot in Cartesian using plot/plot3
Morteza.Moslehi
2017년 5월 4일
답변 (1개)
KSSV
2017년 5월 4일
0 개 추천
It would be better to plot in Cartesian coordinates. You may have a look into following file exchange codes:
카테고리
도움말 센터 및 File Exchange에서 Geoscience에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!