This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

DiagramPlot

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 has the same options as Graphics, with the following additions:
LabelPointsTruewhether points are labeled
TrimPoints0number of diagram vertices to trim
  • Valid settings for TrimPoints is any non-negative integer. Regardless of the setting for TrimPoints, the PlotRange is always large enough to include all the points {x1, y1}, {x2, y2}, ....