show axes of spherical coordinates
4 views (last 30 days)
Show older comments
In this plot obtained from the code
[x, y, z] = sphere;
surf(x, y, z);
xlabel('x'); ylabel('y'); zlabel('z');
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168457/image.jpeg)
is there some way to show the phi coordinate (instead of x and y) and the theta coordinate (instead of y).
0 Comments
Answers (1)
KSSV
on 20 Oct 2017
You can convert those Cartesian coordinates into spherical coordinates using cart2sph but it would be not nice to display them.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!