separate mesh figures in for loop of matrix
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 16 Mag 2021
See subplot() or the newer tiledlayout(); or see figure()
mehmet salihi
il 16 Mag 2021
Walter Roberson
il 16 Mag 2021
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
Risposte (1)
Sulaymon Eshkabilov
il 16 Mag 2021
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 Commenti
mehmet salihi
il 16 Mag 2021
Sulaymon Eshkabilov
il 16 Mag 2021
Your issue has been resolved, right?! Good luck
mehmet salihi
il 16 Mag 2021
mehmet salihi
il 16 Mag 2021
Modificato: Walter Roberson
il 16 Mag 2021
Categorie
Scopri di più su Sparse Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!