MATLAB streamslice in MATLAB®

Learn how to make 1 streamslice charts in MATLAB, then publish them to the Web with Plotly.


Plot Streamlines in Slice Plane

Load the wind data set, which loads the three-dimensional arrays u, v, w, x, y, and z. Draw streamlines along the slice plane where z = 5.

load wind
streamslice(x,y,z,u,v,w,[],[],5)
axis tight

fig2plotly()