fsurf(sym(1), [0 1 0 1], 'y', 'EdgeColor', 'none'), this is fun for z axis , how about y axis?

Antworten (1)

KSSV
KSSV am 28 Mär. 2024
Bearbeitet: KSSV am 28 Mär. 2024
What you gave is similiar to:
x = linspace(0,1,35) ;
y = linspace(0,1,35) ;
[X,Y] = meshgrid(x,y) ;
Z = ones(size(X)) ;
surf(X,Y,Z,'edgecolor','none')
If you want it along y-axes.
x = linspace(0,1,35) ;
z = linspace(0,1,35) ;
[X,Z] = meshgrid(x,z) ;
Y = ones(size(X)) ;
surf(X,Y,Z,Y,'edgecolor','none')

Kategorien

Produkte

Version

R2023b

Tags

Gefragt:

am 28 Mär. 2024

Kommentiert:

am 29 Mär. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by