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

采纳的回答

KSSV
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

更多回答(1 个)

Simon Chan
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

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by