如何在集群中使用 Matlab 命令 window

How to use Matlab Command window in a cluster

我写了下面的代码来显示二维流线和速度矢量场。但它没有在输出的左上角和右下角显示流线。我怎样才能显示总流线 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)

这是您要找的吗?

streamline(x,y,u,v,[startx -startx],[starty starty])