フィルターのクリア

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

1 回表示 (過去 30 日間)
Xiao yang
Xiao yang 2024 年 3 月 28 日
コメント済み: Xiao yang 2024 年 3 月 29 日
fsurf(sym(1), [0 1 0 1], 'y', 'EdgeColor', 'none')
xlabel('x')
ylabel('y')
zlabel('z')
this is fun for z axis , how about y axis?

回答 (1 件)

KSSV
KSSV 2024 年 3 月 28 日
編集済み: KSSV 2024 年 3 月 28 日
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')

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by