how to give value stress from excel give color in my mesh
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Nobeth Bastanta Ginting
il 22 Giu 2022
Commentato: Nobeth Bastanta Ginting
il 23 Giu 2022
0 Commenti
Risposta accettata
KSSV
il 22 Giu 2022
You can coonsider using this package: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem
9 Commenti
Più risposte (1)
Hiro Yoshino
il 22 Giu 2022
As you can see (click the link), you can specify the color with the fourth argument (CO) of the function:
[X,Y,Z] = peaks(25);
CO(:,:,1) = zeros(25); % red
CO(:,:,2) = ones(25).*linspace(0.5,0.6,25); % green
CO(:,:,3) = ones(25).*linspace(0,1,25); % blue
mesh(X,Y,Z,CO)
Vedere anche
Categorie
Scopri di più su Stress and Strain in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!