how to remove arrows in streamslice plot?
2 次查看(过去 30 天)
显示 更早的评论
I want to remove arrows from this plot. can anyone help in this regard.
clc, clear, close;
X = linspace(0,1.5);
Z = linspace(-3,3);
[z,x] = meshgrid(Z,X);
ui = -0.04545*x.^2.*z;
vi = x.*(-.04545 + .0909091*x.^2 + 0.04545*z.^2);
figure('units','normalized','outerposition', [0 0 1 1])
streamslice(z,x,vi,ui)
axis image
0 个评论
采纳的回答
KSSV
2022-7-11
clc, clear, close;
X = linspace(0,1.5);
Z = linspace(-3,3);
[z,x] = meshgrid(Z,X);
ui = -0.04545*x.^2.*z;
vi = x.*(-.04545 + .0909091*x.^2 + 0.04545*z.^2);
figure('units','normalized','outerposition', [0 0 1 1])
streamslice(z,x,vi,ui,'noarrows')
axis image
0 个评论
更多回答(1 个)
Simon Chan
2022-7-11
Here:
clc, clear, close;
X = linspace(0,1.5);
Z = linspace(-3,3);
[z,x] = meshgrid(Z,X);
ui = -0.04545*x.^2.*z;
vi = x.*(-.04545 + .0909091*x.^2 + 0.04545*z.^2);
figure('units','normalized','outerposition', [0 0 1 1])
streamslice(z,x,vi,ui,'noarrows') % With 'noarrows'
axis image
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!