Helper program to make scaling graphs