\documentclass{article}
% translate with >> pdflatex -shell-escape <file>

% This file is used as unit test for pgfplots, copyright by Christian Feuersaenger.
% 
% See
%   http://pgfplots.sourceforge.net/pgfplots.pdf
% for pgfplots.
%
% Any required input files (for <plot table> or <plot file> or the table package) can be downloaded
% at
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/
% and
% http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfplots/doc/latex/plotdata/

\usepackage{pgfplots}
\pgfplotsset{compat=1.3}

\pagestyle{empty}

\begin{document}
\def\testplot#1#2{%
	\message{RUNNING WITH azimuth={#1}; elevation={#2}...}
	\begin{tikzpicture}
	%\tracingmacros=2 \tracingcommands=2
		\begin{axis}[
			enlargelimits=false,
			view={#1}{#2},
			%view={0}{0},
			%disabledatascaling,
			clip=false,
			y domain=0:1,domain=0:1]
			\addplot3[blue,-stealth,thick] coordinates {(0,0,0) (1,0,0) (0,2,0) (0,0,3)};
		%	\addplot3+[only marks,scatter] plot[samples=15,scatter src=z] (\x,\y,\x^2 * \y^2);
		\end{axis}
	\end{tikzpicture}
}%

\subsection{Test von YAW}
\def\p{50}
\foreach \y in {0,30,50,80,120,180,200,240,260,300,350} {
	\subsubsection{für \{\y\}\{\p\}:} \testplot{\y}{\p}\hfill
}

\subsection{Test von PITCH}
\def\y{-30}
\foreach \p in {0,30,50,80,90,-90,-80,-50,-30,0} {%120,180,200,240,260,300,350} {
	\subsubsection{für \{\y\}\{\p\}:} \testplot{\y}{\p}\hfill
}

%\tracingmacros=2 \tracingcommands=2
\subsubsection{Special case view=0,0}
\testplot{0}{0}\hfill

\subsubsection{Special case view=90,0}
\testplot{90}{0}\hfill

\subsubsection{Special case view=-90,0}
\testplot{-90}{0}\hfill

\subsubsection{Special case view=0,90}
\testplot{0}{90}\hfill

\subsubsection{Special case view=0,-90}
\testplot{0}{-90}\hfill

\subsubsection{Special case view=90,90}
\testplot{90}{90}\hfill
\end{document}
