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.

Details and Options

• 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 , 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 Language function, https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.

Text

Wolfram Research (2012), DiagramPlot, Wolfram Language function, https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.

CMS

Wolfram Language. 2012. "DiagramPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html.

APA

Wolfram Language. (2012). DiagramPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html

BibTeX

@misc{reference.wolfram_2024_diagramplot, author="Wolfram Research", title="{DiagramPlot}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html}", note=[Accessed: 26-May-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_diagramplot, organization={Wolfram Research}, title={DiagramPlot}, year={2012}, url={https://reference.wolfram.com/language/ComputationalGeometry/ref/DiagramPlot.html}, note=[Accessed: 26-May-2024 ]}