Varying the control or compensation during the scan, e.g. using continuous feedback or from line to line