For a function \(f\), \(f(1)=8\) and \( f(-2)=-4 \). If the graph of \(y=f(x)\) is a line in the \(xy\)-plane, what is the slope of the line?