Why does the function streamslice not work when I define the X and Y axes
2 views (last 30 days)
Show older comments
Hello,
I am trying to plot streamlines for a 2-Dimensional vector field. When I do not define the X and Y axes the streamslice function works properly (i.e. streamslice(U,V).
When I try to use the same function together with the original X and Y axes the function returns an empty plot with axis going from 0 to 1. (i.e. streamslice(X,Y,U,V).
X,Y,U and V are all the same size and X, and Y are formed by using meshgrid. Furthermore they are monotonic.
No error message is displayed, the streamlines are simply not drawn.
Anyone knows how to resolve this issue?
0 Comments
Answers (0)
See Also
Categories
Find more on Vector Fields 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!