how to give value stress from excel give color in my mesh

2 views (last 30 days)

Accepted Answer

KSSV on 22 Jun 2022
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting on 23 Jun 2022
value stress in middle of element sir so i want value stress in element not in nodes because my teacher say stress in element not in nodes

Sign in to comment.

More Answers (1)

Hiro Yoshino
Hiro Yoshino on 22 Jun 2022
Not sure what you want to do exactly but it seems this is an application of mesh function.
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


Find more on Stress and Strain in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!