plot max(0,x) and piecewise[[1, x>0], [0, x<=0]]