set terminal fig plot [0:4*pi] [-1:1] (x2*pi && x<3*pi))?abs(sin(2*x)):0