scales axis to match plot