三次関数 y = x3 -12x のグラフ

GeoGebra 3.2.44.0 で作成したグラフをPGF/TikZとしてエクスポート。
テキストエディタ gedit で修正後、コマンド xelatex test-pgf2.tex でPDFを作成し、 コマンド pdf2svg でSVGに変換しました。

*** test-pgf2.tex ***

\documentclass[10pt]{article}
\usepackage{pgf,tikz}

\usepackage{myjapanese}
\usepackage{mypreview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}% 余白

\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}

\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=0.25cm]
\draw[->,color=black] (-5,0) -- (5,0);
\draw[color=black] (4,0.31) node [anchor=south west] {$x軸$};
\draw[->,color=black] (0,-20) -- (0,20);
\draw[color=black] (0.08,18.43) node [anchor=west] {$y軸$};
\draw[color=black] (-4.8,18.43) node [right,draw] {三次関数 $f(x) = x^3 - 12 x$};

\clip(-5,-20) rectangle (5,20);
\draw[color=blue, smooth,samples=100,domain=-5:5] plot(\x,{\x^3-12*\x});
\draw [dash pattern=on 3pt off 3pt,color=red] (-2,16)-- (-2,0);
\draw [dash pattern=on 3pt off 3pt,color=red] (-2,16)-- (0,16);
\draw [dash pattern=on 3pt off 3pt,color=red] (2,-16)-- (2,0);
\draw [dash pattern=on 3pt off 3pt,color=red] (2,-16)-- (0,-16);
\draw[color=blue] (-2.8,-19) node {$f(x) = x^3 - 12 x$};
\fill [color=red] ({-2*sqrt(3)},0) circle (1.5pt) node[below left] {$-2\sqrt{3}$};
\fill [color=red] (-2,0) circle (1.5pt) node[below] {-2};
\fill [color=red] (0,0) circle (1.5pt) node[below left] {$O$};
\fill [color=red] (2,0) circle (1.5pt) node[above] {2};
\fill [color=red] ({2*sqrt(3)},0)  circle (1.5pt) node[below right] {$2\sqrt{3}$};
\fill [color=red] (0,-16) circle (1.5pt) node[left] {-16};
\fill [color=red] (0,16) circle (1.5pt) node[right] {16};
\fill [color=red] (-2,16) circle (1.5pt);
\fill [color=red] (2,-16) circle (1.5pt);
\end{tikzpicture}
\end{document}

***