Azzera filtri
Azzera filtri

how to remove arrows in streamslice plot?

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

KSSV
KSSV il 11 Lug 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

Più risposte (1)

Simon Chan
Simon Chan il 11 Lug 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

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by