I wrote below code to show streamlines and velocity vector field in 2D. But it doesn't show streamlines in up-left and bottom-right of the output. How can I show streamlines in total space?
[x,y] = meshgrid(-1:0.1:1,-1:0.1:1);
u = x;
v = -y;figure
quiver(x,y,u,v)
startx = -1:0.1:1;
starty = ones(size(startx));
starty = -1:0.1:1;
streamline(x,y,u,v,startx,starty)