voronoi
Voronoi diagram of planar points
📝Syntax
[vx, vy] = voronoi(P)
[vx, vy] = voronoi(x, y)
[vx, vy] = voronoi(x, y, T)
h = voronoi(...)
voronoi(P)
📄Description

voronoi computes Voronoi line segments for planar points.

When called without output, it plots the diagram.

💡Examples
Plot a Voronoi diagram.
P = [0 0; 1 0; 1 1; 0 1; 0.4 0.6];
voronoi(P)
🔗See Also
voronoindelaunay
🕔Version History
Version Description
2.0.0 Initial version.
Edit this page on GitHub