2010-09-25 138 views

回答

9

this thread

To set the edgecolor to white do the following. 

h = fill([-1 -1 1 1],[-1 1 1 -1],'w'); 
axis([-2 2 -2 2]); 
set(h,'edgecolor','white'); 

應該採取邊境的照顧。

8

除了schnaader's answer,您還可以在初始呼叫邊的顏色設置爲FILL

hPatch = fill(xData,yData,'r','EdgeColor','r'); %# Red patch with red edges 

或者停止從邊緣被完全得出:

hPatch = fill(xData,yData,'r','EdgeColor','none'); %# Red patch with no edges