Comparing Numerical Patterns in Graphs