Function notation, Graphs and intervals