How To Determine Intervals On A Graph