graphing one segment