how to make irregular 3d shape with spherical coordinates?

8 ビュー (過去 30 日間)
Muhammad Faheem Awan
Muhammad Faheem Awan 2018 年 9 月 7 日
コメント済み: Saeed Ghanbarifar 2021 年 1 月 5 日
Hi, I have some different values of 'r' in spherical coordinates and want to plot 3d irregular surface. e.g, I have phi = [0,2pi] and theta = [0,pi/2], so for each phi and theta, I have different r value. I just want to plot the surface, with no color, and only showing the variation in r by 3d surface.

採用された回答

Vineeth Nair
Vineeth Nair 2018 年 9 月 11 日
Attaching a sample code. I have converted the spherical coordinates to Cartesian, keeping radius variable as a vector. Further I have used surf function for the 3d plot.
  4 件のコメント
Muhammad Faheem Awan
Muhammad Faheem Awan 2018 年 9 月 14 日
@Vineeth Nair,, ThankYou for your efforts Vineeth. Thanks.. Hopefully this will resolve my problem.
Saeed Ghanbarifar
Saeed Ghanbarifar 2021 年 1 月 5 日
how can i plot this map in matlab or python ?/
x=lat : utm system
y= long
z= magnetic data

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by