plot of sin(x)-cos(x), where x is between -2 pi and 2 pi