Fit and plots scaling variables