plot (sgn(x+1/2)-sgn(x-1/2)) * sin(6 pi x), x = -1 to 1