How can i 3d plot this table in matlab?

I want to 3d plot this table in matlab.if any one can send me the code i will be appreciated.

 Respuesta aceptada

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 comentarios

Ali Moosazadeh
Ali Moosazadeh el 18 de Feb. de 2024
Thanks
Star Strider
Star Strider el 18 de Feb. de 2024
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 18 de Feb. de 2024

Comentada:

el 18 de Feb. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by