display voronoi diagram with multi-robot environment
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm writing an application using the multi-robot environment, I want to display a voronoi diagram using the positions of the robots at each iteration of the simulation loop.
I've tried to use hold on and, but I get the following result:
Is there a way to update the figure at each iteration?
0 件のコメント
回答 (1 件)
David Hill
2020 年 12 月 8 日
Try using the clf command between each plot
for
clf;
plot(x,y);
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Voronoi Diagram についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!