how to make irregular 3d shape with spherical coordinates?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Faheem Awan
le 7 Sep 2018
Commenté : Saeed Ghanbarifar
le 5 Jan 2021
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.
0 commentaires
Réponse acceptée
Vineeth Nair
le 11 Sep 2018
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 commentaires
Saeed Ghanbarifar
le 5 Jan 2021
how can i plot this map in matlab or python ?/
x=lat : utm system
y= long
z= magnetic data ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/479738/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/479738/image.png)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!