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

조회 수: 2 (최근 30일)
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting 2022년 6월 22일
댓글: Nobeth Bastanta Ginting 2022년 6월 23일

채택된 답변

KSSV
KSSV 2022년 6월 22일
  댓글 수: 9
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting 2022년 6월 23일
hi sir i get my want. but how to get element 10x10? because i see element not 10x10. and how to change axis to range 0-100 in x and y. thank you sir
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting 2022년 6월 23일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Hiro Yoshino
Hiro Yoshino 2022년 6월 22일
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
mesh(X,Y,Z,CO)

카테고리

Help CenterFile Exchange에서 Stress and Strain에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by