How to plot streamlines on a sphere?
Show older comments
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!
Answers (2)
Bob P
on 9 Jan 2013
David Taylor
on 31 Aug 2018
0 votes
Hero! Thanks for sharing.
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!