x=-5:0.5:5
hold on
plot(x,1.5 * x)
stairs(x,1.5 * x + 0.5)
yline(0)
xline(0)
hold off