How do I take diagonal Slices?
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How do I produce slices through the volume? I know you can make slices that are orthogonal to the axes but how do I take slices that are not orthogonal? For example, how do I take a diagonal slice?
0 comentarios
Respuestas (1)
darova
el 12 de Jun. de 2020
just create a surface you want to get slice on
[x,y,z,v] = flow;
[x1,y1] = meshgrid(0:10,-3:0.5:3);
z1 = (x1 + y1)/2-2;
slice(x,y,z,v,x1,y1,z1)
hold on
slice(x,y,z,v,[2 7],[],[])
slice(x,y,z,v,[],0,[])
hold off
axis vis3d
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!