MATLAB: Patch with same color as border

MATLABplot

When using a "patch" command the border is black and interior is of the chosen color. How do I make both have same color, for example a circle that is blue and its border is also blue? I have tried to redraw the border separately in blue color, but then I get a few scattered speckles of black.

Best Answer

The easiest way is to use the patch function EdgeColor property. You can color it to be the same as the patch face color, or you can turn it off with the 'none' option.
Related Question