%% Visualize flow
% Use the streamtube function to indicate flow in the wind data set. The inputs include the coordinates, vector field components, and starting location for the stream tubes.

load wind
[sx,sy,sz] = meshgrid(80,20:10:50,0:5:15);
streamtube(x,y,z,u,v,w,sx,sy,sz);
view(3);
axis tight
shading interp;
camlight; 
lighting gouraud

% Copyright 2012 The MathWorks, Inc.