how to give value stress from excel give color in my mesh
1 次查看(过去 30 天)
显示 更早的评论
0 个评论
采纳的回答
KSSV
2022-6-22
You can coonsider using this package: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem
9 个评论
更多回答(1 个)
Hiro Yoshino
2022-6-22
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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Stress and Strain 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!