comparison scripts/plot/fill.m @ 8243:ec4d9d657b17

Treat line style argument in stairs
author David Bateman <dbateman@free.fr>
date Mon, 20 Oct 2008 16:02:31 +0100
parents 73d6b71788c0
children a013ff655ca4
comparison
equal deleted inserted replaced
8242:a9d3b88ea6fb 8243:ec4d9d657b17
113 %! t2 = ((1/16:1/8:1)' + 1/32)*2*pi; 113 %! t2 = ((1/16:1/8:1)' + 1/32)*2*pi;
114 %! x1 = sin(t1) - 0.8; 114 %! x1 = sin(t1) - 0.8;
115 %! y1 = cos(t1); 115 %! y1 = cos(t1);
116 %! x2 = sin(t2) + 0.8; 116 %! x2 = sin(t2) + 0.8;
117 %! y2 = cos(t2); 117 %! y2 = cos(t2);
118 %! h = fill(x1,y1,'r',x2,y2,'g') 118 %! h = fill(x1,y1,'r',x2,y2,'g');