maxerror can be passed to processlinear and Patlak plot