How can I plot around 1000 surfaces in 3D and with good speed?
1 ビュー (過去 30 日間)
表示 古いコメント
Good day! I am plotting over 1000 surfaces with the command [x, y, z] = sphere; in one shape. Naturally, I end up with a very slow and heavy 3d render. How can I do it better?
0 件のコメント
採用された回答
Matt J
2021 年 4 月 1 日
編集済み: Matt J
2021 年 4 月 1 日
You can keep the axes invisible until all surfaces have been added.
3 件のコメント
Matt J
2021 年 4 月 1 日
[x, y, z] = sphere;
M = dlmread("Some_path.txt", '', 1, 0);
a=size(M,1);
for i = 1:a
h{i}=surf(ax, x + M(i,1), y + M(i,2), z + M(i,3),'Visible','off');
end
set([h{:}],'Visible','on')
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!