patch with same color as border

19 views (last 30 days)
Mohsen on 2 Sep 2019
Answered: Star Strider on 2 Sep 2019
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.

Accepted Answer

Star Strider
Star Strider on 2 Sep 2019
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.

More Answers (0)





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!