tried to use grapher to fit from script