FUNCTION REFERENCE
voronoi
Plot the input sites and finite edges of their two-dimensional Voronoi diagram.
Plot the input sites and finite edges of their two-dimensional Voronoi diagram.
Syntax
voronoi(x, y)Syntax
H = voronoi(x, y)Syntax
[VX, VY] = voronoi(x, y)H contains the handles for the point markers and edge lines. With two outputs, each column of VX and VY gives the two endpoints of an edge and no figure is created.
Example
voronoi([0 1 1 0 0.5], [0 0 1 1 0.5])Example
[vx, vy] = voronoi([0 1 1 0 0.5], [0 0 1 1 0.5])These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.