How can i 3d plot this table in matlab?
6 次查看(过去 30 天)
显示 更早的评论
I want to 3d plot this table in matlab.if any one can send me the code i will be appreciated.
0 个评论
采纳的回答
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
.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!