show axes of spherical coordinates
4 ビュー (過去 30 日間)
古いコメントを表示
In this plot obtained from the code
[x, y, z] = sphere;
surf(x, y, z);
xlabel('x'); ylabel('y'); zlabel('z');

is there some way to show the phi coordinate (instead of x and y) and the theta coordinate (instead of y).
0 件のコメント
回答 (1 件)
KSSV
2017 年 10 月 20 日
You can convert those Cartesian coordinates into spherical coordinates using cart2sph but it would be not nice to display them.
0 件のコメント
参考
カテゴリ
Help Center および 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!