How can i 3d plot this table in matlab?

조회 수: 7 (최근 30일)
Ali Moosazadeh
Ali Moosazadeh 2024년 2월 18일
댓글: Star Strider 2024년 2월 18일
I want to 3d plot this table in matlab.if any one can send me the code i will be appreciated.

채택된 답변

Star Strider
Star Strider 2024년 2월 18일
Try this —
A1 = readmatrix('cc.csv');
x = A1(1,2:end);
y = A1(2:end,1);
z = A1(2:end,2:end);
figure
surf(x,y,z, 'EdgeColor','none')
colormap(turbo)
xlabel('X')
ylabel('Y')
zlabel('Z')
colorbar
.
  댓글 수: 2
Ali Moosazadeh
Ali Moosazadeh 2024년 2월 18일
Thanks
Star Strider
Star Strider 2024년 2월 18일
As always, my pleasure!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by