linear fit to phasor map