How can I make a selection of my streamlines?
Mostrar comentarios más antiguos
Hi everybody,
I use the command Streamlines to simulate the stream-flow of water in a porous media 3D. Now I want to view only the lines that crossing completely the cube (from left to right). How can I do?
Here it is the code I used
[sx,sy,sz]=meshgrid(10:5:nx-10,10:5:nx-10,10:5:nz-10);
hlines=streamline(1:nx,1:ny,1:nz,uy,ux,uz,sy,sx,sz);
set(hlines,'linewidth',2,'color','r')

Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre Vector Fields 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!


