Slice in 2D Coordinates
Mostrar comentarios más antiguos
I need to draw data like in slice, but only have 2 axes. This picture looks like what i can do now, but i need only colored grid without showing 3'd axis.
This is my code now: (V is a 3D matrix sized (x,y,z)
x_3 = 0:1:15;
y_3 = 0:1:14;
z_3 = 0:1:20;
x = 0;
figure;
s = slice(y_3, x_3, z_3, V, x, [], []);
set(s, 'EdgeColor','none');
1 comentario
Kathy Primakova
el 14 de Mayo de 2022
Respuesta aceptada
Más respuestas (1)
Torsten
el 1 de Mayo de 2022
Maybe
ax1.ZAxis.Visible = 'off'; % remove z-axis
1 comentario
Kathy Primakova
el 2 de Mayo de 2022
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!