axis([-1 4 0 2.5 ])
set(gca,'fontsize',15) 
hold on
plot([-1 1.5*t 1.5*t 4], [2 2 1 1])
hold off

makeframegif
