document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. \\begin{tikzpicture}[]
  2. \\begin{axis}[
  3.    axis lines=middle,xtick={-2,-1,2,3},ytick=\\empty,xlabel={\\large $x$},ylabel={\\large $y$},
  4.    xmin=-3, xmax=4,ymin=-8.5,ymax=6,samples=500,enlargelimits=false]
  5. \\addplot[name path=A,domain=-2.15:3.15,Navy,smooth] {x^3-x^2-6*x} node[above left] {$y=x^3-x^2-6x$};
  6. \\path[name path=B] (axis cs:-1,0)--(axis cs:2,0);
  7. \\addplot[draw,fill=DarkOrange!50!Yellow,opacity=.75] fill between[of=A and B,soft clip={domain=-1:2}];
  8. \\end{axis}
  9. \\end{tikzpicture}
');