%% Plot Streamlines from Vertices
% Load the wind dataset and use stream3 to compute the vertices of streamlines that start at evenly spaced points on the plane x = 80. Then, plot the streamlines from the vertex data.

load wind
[startx,starty,startz] = meshgrid(80,20:10:50,0:5:15);
verts = stream3(x,y,z,u,v,w,startx,starty,startz);
streamline(verts)
axis tight
view(3);

% Copyright 2020 The MathWorks, Inc.