how to remove arrows in streamslice plot?

6 Ansichten (letzte 30 Tage)
Jagadeesh Korukonda
Jagadeesh Korukonda am 11 Jul. 2022
Beantwortet: KSSV am 11 Jul. 2022
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

Akzeptierte Antwort

KSSV
KSSV am 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

Weitere Antworten (1)

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

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by