x=[-3:0.01:3];
y=zeros(601,1);
for i=251:351
  y(i)=1;
end;
plot(x,y,'black');
axis([-3 3 -0.5 1.5]);
axis on;