How to plot streamlines on a sphere?
Afficher commentaires plus anciens
I would like to plot streamlines wrapped around the surface of a sphere. Here is what I mean:

A few thoughts:
--Matlab makes it easy to plot scalar functions on spheres using surf (as shown here: http://www.mathworks.com/help/matlab/ref/surf.html), but I do not see how to extend this example to vector fields.
--I know how to plot streamlines on a surface provided the domain of the surface is rectangular (following this example: http://www.mathworks.com/help/matlab/ref/streamslice.html). Unfortunately, I don't see how to extend this to a spherical surface.
Thanks!
Réponses (2)
Bob P
le 9 Jan 2013
David Taylor
le 31 Août 2018
0 votes
Hero! Thanks for sharing.
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!