how to remove arrows in streamslice plot?

6 views (last 30 days)
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

Accepted Answer

KSSV
KSSV on 11 Jul 2022
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

More Answers (1)

Simon Chan
Simon Chan on 11 Jul 2022
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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!