It's similar but instead of X values, you need Y values. Y goes up and down depending on if its - or +. It would be Y=Y+1 and Y=Y-1.