MATLAB: Voronoi Diagram Boundaries with a given width

linewidthMATLABvoronoi

I had a problem with Voronoi function now. I wish that I can remain a width, say, x(a variable) for each grid.Here is my code but that's wrong. Attached please find a pic that exactly shows what I want to do with Voronoi Diagram.
A = [3,7,2,8,5];
B = [6,1,0,8,1];
x=2;
Voronoi(A,B,"LineWidth",x);
There is a pic telling what I need.

Best Answer

A = [3,7,2,8,5];
B = [6,1,0,8,1];
x=2;
h = Voronoi(A,B);
for i = 1:length(h)
h(i).LineWidth = x ;
end