Ack, just finally found the page on Patch object properties. The correct command is set(h,'EdgeColor','none')
How do I remove the outline from a fill object?
155 ビュー (過去 30 日間)
古いコメントを表示
Jonathan
2015 年 1 月 9 日
編集済み: Claudia Teresa Canedo Rosso
2017 年 11 月 1 日
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
2 件のコメント
採用された回答
Claudia Teresa Canedo Rosso
2017 年 11 月 1 日
編集済み: Claudia Teresa Canedo Rosso
2017 年 11 月 1 日
fill(X,Y,[0.7 0.7 0.7],'LineStyle','none');
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!