在Mathematica中使用图形绘制Voronoi图 [英] Plot VoronoiDiagram using Graphics in Mathematica
本文介绍了在Mathematica中使用图形绘制Voronoi图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
完成关于如何绘制 ConvexHull 或
Completing questions on how to plot a ConvexHull or a DelaunayTriangulation using Graphics in Mathematica,
我现在想绘制一个图形图形中的 VoronoiDiagram 。
I would now like to plot the VoronoiDiagram within Graphics.
考虑:
Considering :
Needs["ComputationalGeometry`"]
pts = RandomReal[{0, 10}, {60, 2}];
vdpts=VoronoiDiagram[pts]
推荐答案
about
Needs["ComputationalGeometry`"]
pts = RandomReal[{0, 10}, {10, 2}]
DiagramPlot[pts]
还是我错过了你的观点?
or am I missing your point?
这篇关于在Mathematica中使用图形绘制Voronoi图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文