2010-09-25 9 views

risposta

9

Vedi 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'); 

che dovrebbe prendersi cura di confine.

8

Oltre a schnaader's answer, è anche possibile impostare il colore del bordo nella chiamata iniziale a FILL:

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

o arrestare i bordi dalla fase di elaborazione del tutto:

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