set terminal fig
plot [0:4*pi] sin(x)*abs(sin(x))