%% Voronoi Diagram with 2-D Points
% Create two vectors containing the coordinates of 10 2-D points, and plot the Voronoi diagram.

x = gallery('uniformdata',[1 10],0);
y = gallery('uniformdata',[1 10],1);
voronoi(x,y)
axis equal

% Copyright 2015 The MathWorks, Inc.