plot min(x^2, y)