Plot[Ceiling[x^2], {x, -2, 2}, {y, 0, 4}]