This document
\documentclass[DIV=16]{scrartcl}
\usepackage{tikz}
\pagestyle{empty}
\begin{document}
\hrule
\begin{center}
\begin{tikzpicture}[scale=.3]
\draw[domain=-1:5] plot (\x,{0.5*\x*\x*(\x-3)});
\end{tikzpicture}
\end{center}
\hrule
\begin{center}
\begin{tikzpicture}[scale=.3]
\draw (-1,-2) .. controls (1,7) and (3,-20) .. (5,25);
\end{tikzpicture}
\end{center}
\hrule
\end{document}
produces this output:
So, the second picture has a much larger bounding box, which is probably due to the control points. Is there a possibility to force tikz to calculate the real extrema rather than just looking at the terminal points and the control points?
Edit: The bounding box shall automatically be correct WITHOUT adding new points to the curve. It is okay for me, if you say that there is no possibility without changing tikz itself. This just means that I can ask the tikz development for this feature without overlooking something obvious.