Comparing Functions and Graphs