MATLAB: How to remove the outline from a fill object

fillfill borderfill no borderfill no boundaryfill without borderfill without outlinefillwithout boundaryMATLAB

Hi,
I have a gray ([.7 .7 .7]) shape in a figure, which I generate using "fill." I'd like the border to be set to invisible/the color of the shape/white, whichever is easiest, but I can't find the right property to alter. I've tried:
h=fill(x,y,[.7 .7 .7]); set(h,'Color','w')
…and a few other things like that unsuccessfully. Can anyone help me out with this?
Much appreciated, Jonathan

Best Answer

fill(X,Y,[0.7 0.7 0.7],'LineStyle','none');