swapped the sides of the graphed values