How to plot streamlines on a sphere?
Mostrar comentarios más antiguos
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!
Respuestas (2)
Bob P
el 9 de En. de 2013
David Taylor
el 31 de Ag. de 2018
0 votos
Hero! Thanks for sharing.
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!