how to give value stress from excel give color in my mesh
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nobeth Bastanta Ginting
am 22 Jun. 2022
Kommentiert: Nobeth Bastanta Ginting
am 23 Jun. 2022
0 Kommentare
Akzeptierte Antwort
KSSV
am 22 Jun. 2022
You can coonsider using this package: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem
9 Kommentare
Weitere Antworten (1)
Hiro Yoshino
am 22 Jun. 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)
Siehe auch
Kategorien
Mehr zu Stress and Strain finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!