ComputationalGeometry`
ComputationalGeometry`
DiagramPlot
As of Version 10, all the functionality of the ComputationalGeometry package is built into the Wolfram System. »
DiagramPlot[{{x1,y1},{x2,y2},…}]
plots the Voronoi diagram of the points {{x1,y1},…}.
DiagramPlot[{{x1,y1},{x2,y2},…},{q1,q2,…},val]
plots the points {{x1,y1},…}, as well as the diagram described by the vertices q1,q2,… and the vertex adjacency list val.
更多信息和选项
- DiagramPlot functionality is now available in the built-in Wolfram Language function VoronoiMesh.
- To use DiagramPlot, you first need to load the Computational Geometry Package using Needs["ComputationalGeometry`"].
- DiagramPlot has the same options as Graphics, with the following additions:
-
LabelPoints True whether points are labeled TrimPoints 0 number of diagram vertices to trim - Valid settings for LabelPoints are True and False. With the setting LabelPoints->True, each point is labeled according to its position in the input list.
- Valid settings for TrimPoints are any non-negative integers. Regardless of the setting for TrimPoints, the PlotRange is always large enough to include all the points {x1,y1},{x2,y2},….
Wolfram Research (2012),DiagramPlot,Wolfram 语言函数,https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.
文本
Wolfram Research (2012),DiagramPlot,Wolfram 语言函数,https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.
CMS
Wolfram 语言. 2012. "DiagramPlot." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.
APA
Wolfram 语言. (2012). DiagramPlot. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html 年