fix for graphing -nπ to nπ where n is a any number