First time here? Check out the FAQ!
answered 13 years ago
If I'm understanding you correctly, then one way to do this is to take advantage of the fact you can add plots:
sage: f = x*(x-1)*(x-2)+1 sage: p = plot(f, 0.5, 1.5, fill=True) + plot(f, 0, 2) sage: show(p)