Linear flow gradients for automatic titrations