How to get the vertex points of all grid points within a cube?
7 ビュー (過去 30 日間)
古いコメントを表示
If I have a NxN cube, and wanted to plot a point at each integer x,y,z position included in the cube, how could I iterate through and store all the points to x,y,z point arrays?
2 件のコメント
Adam
2019 年 7 月 16 日
What do you mean by 'I have a NxN cube'? In what format do you have it at the moment?
採用された回答
Michael Ferguson
2019 年 7 月 16 日
1 件のコメント
Adam
2019 年 7 月 16 日
doc ndgrid
should be able to give you the points. It's advisable to plot them all as a single scatter plot, otherwise performance can suffer the more graphics objects you have and N^3 gets big pretty fast!
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!