How do I take diagonal Slices?
25 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
darova
2020 年 6 月 12 日
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 件のコメント
参考
カテゴリ
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!