2010-09-25 10 views

Respuesta

9

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

que debe hacerse cargo de la frontera.

8

Además de schnaader's answer, también puede configurar el color del borde de la llamada inicial a FILL:

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

o detener los bordes de ser arrastrado por completo:

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