Plotting streamlines in matlab.
5 views (last 30 days)
Show older comments
I am trying plot streamlines using the streamlinefunction. The number of streamlines i'm getting streamlines are way too less. I am attaching the code and the data file containing the velocity components and their co-ordinates. please help me in resolving the issue.
0 Comments
Accepted Answer
darova
on 24 Apr 2019
Just increased number of starting points
n = 100; % number of streamlines
starting_x = zeros(1,n); % starting points for streamlines
starting_y = linspace(-0.1,0.1,n);
3 Comments
darova
on 24 Apr 2019
Delete first row of your data (it's defective)
and change axis boundaries
axis ([ xmin xmax ymin ymax])
More Answers (0)
See Also
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!