Hysteric curve problem

How can I change red line to yellow line?