\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.7cm,y=0.7cm]
\begin{axis}[
x=0.7cm,y=0.7cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-4.359021296344046,
xmax=7.261171556747275,
ymin=-1.590590419223428,
ymax=5.736919507038625,
xtick={-4.0,-3.0,...,7.0},
ytick={-1.0,0.0,...,5.0},]
\clip(-4.359021296344046,-1.590590419223428) rectangle (7.261171556747275,5.736919507038625);

\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=-5.0:-3.0)] plot (\x,{(-0.1*(\x)^3+-1.35*(\x)^2+-7.4*(\x)+-9.75)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=-3.0:-2.5)] plot (\x,{(2.8*(\x)^3+23.8*(\x)^2+65.2*(\x)+60.0)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=-2.5:-1.0)] plot (\x,{(0.01481*(\x)^3+0.51111*(\x)^2+0.97778*(\x)+1.48148)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=-1.0:1.0)] plot (\x,{(-0.0625*(\x)^3+0.1875*(\x)^2+0.5625*(\x)+1.3125)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=1.0:3.0)] plot (\x,{(-0.0625*(\x)^3+0.1875*(\x)^2+0.5625*(\x)+1.3125)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=3.0:4.0)] plot (\x,{(0.5*(\x)^3+-6.0*(\x)^2+22.5*(\x)+-24.0)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=4.0:5.0)] plot (\x,{(0.5*(\x)^3+-6.0*(\x)^2+22.5*(\x)+-24.0)/1.0}););
\draw [samples=50,rotate around={0.:(0.,0.)},xshift=0.cm,yshift=0.cm,line width=1.pt,domain=5.0:7.0)] plot (\x,{(-0.8*(\x)^3+14.85*(\x)^2+-88.5*(\x)+172.25)/1.0}););


\end{axis}
\end{tikzpicture}