separate mesh figures in for loop of matrix
1 回表示 (過去 30 日間)
古いコメントを表示
hello every one
i have for loop which is i=3 and i am obtaing three matrix separately, i try to show the mesh for each matrix separately, how can i do that please help.
please also how can i learn more properity edit for mesh
for c_value=1:3
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u')
end
3 件のコメント
Walter Roberson
2021 年 5 月 16 日
for c_value=1:3
figure()
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u')
end
回答 (1 件)
Sulaymon Eshkabilov
2021 年 5 月 16 日
for c_value=1:3
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u'), hold all
end
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Signal Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!