plot y=(-1)^x