plot.hat for kalman