% Copyright 2010 Thomas König, Alexander Michel
%
% This file is part of NumericPlots.
%
% NumericPlots is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% any later version.
%
% NumericPlots is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with NumericPlots.  If not, see <http://www.gnu.org/licenses/>.
	
\section{Some test plots}
	
	\begin{figure}
	\centering
	\small
	
	\input{DataTestRealData}
	\newpsstyle{Database}{style=StdLineStyA, dotstyle=*, showpoints=true}
	\newpsstyle{Result}{style=StdLineStyB, dotstyle=+, showpoints=true}
	
	% adjust llx, lly, urx and ury for borders
	\begin{NumericDataPlot}[]{0.5 \linewidth}{0.35 \linewidth}
		% --- definition of the axis and the grid ---		
		\setxAxis{xMin=2, xMax=17, xO=5, Dx=4}
			
		\setyAxis{yMin=20, yMax=70, yO=20, Dy=20}
			
        % AxisStyle: Boxed,LowerAxis,UpperAxis,NoTicks,NoTickLabel,NoGrid
		\plotxAxis[AxisStyle = Boxed]{Stichnummer}

        % AxisStyle: Boxed,LeftAxis,RightAxis,NoTicks,NoTickLabel,NoGrid
		\plotyAxis[AxisStyle = Boxed]{$F_{roll}$ in $\mega\newton$}
			

		\listplot[style=Database]{\DataDBforce}
		\listplot[style=Result]{\DataRESforce}
		\listplot[style=StdLineStyC]{\DataDBforceC}
		\listplot[style=StdLineStyD]{\DataDBforceD}
		\listplot[style=StdLineStyE]{\DataDBforceE}
		\listplot[style=StdLineStyF]{\DataDBforceF}
		\listplot[style=StdLineStyG]{\DataDBforceG}
	\end{NumericDataPlot}
	\LegendDefinition[nrCols=1, LabelOrientation=r]{
		\LegLine{style=Database} & Werte aus der Datenbank \\
		\LegLine{style=Result} & Modell\\ }
	\caption{Test.}
	\label{fig:Test1}
\end{figure}

\clearpage

% \section{Teste tkPlotData }
% 
% 
% 
% {
% 	\centering
% 	\small
% 	
% 	\input{DataTestRealData}
% 	\newpsstyle{Database}{style=StdLineStyA, dotstyle=*, showpoints=true}
% 	\newpsstyle{Result}{style=StdLineStyB, dotstyle=+, showpoints=true}
% 	
% 	% adjust llx, lly, urx and ury for borders
% 	%\begin{tkDataPlot}[options]{width}{height}
% 	\begin{NumericDataPlot}[]{\linewidth}{10cm}
% 		% --- definition of the axis and the grid ---
% 		\setxAxis{xMin=2, xMax=17, xO=10, Dx=3}
% 		\setyAxis{yMin=20, yMax=70, Dy=10, yO=25}
% 			
% 			
% 		\plotxAxis[LabelPos=0.75, LabelOption={\color{red}},
% 		TickLabelOption={\color{red}}]{Stichnummer}
% 		\plotyAxis[LabelOption={\LARGE}, TickLabelOption={\LARGE\color{green}}]
% 			{$F_{roll}$ in $\mega\newton$\\\LARGE{}Zeilenumbruch}
% 		
% 		\listplot[style=Database]{\DataDBforce}
% 		\listplot[style=Result]{\DataRESforce}
% 		\listplot[style=StdLineStyC]{\DataDBforceC}
% 		\listplot[style=StdLineStyD]{\DataDBforceD}
% 		\listplot[style=StdLineStyE]{\DataDBforceE}
% 		\listplot[style=StdLineStyF]{\DataDBforceF}
% 		\listplot[style=StdLineStyG]{\DataDBforceG}
% 		
% 		% put some stuff somewhere
% 		\NDPput[x=5, y=30]{xx}
% 		
% 		% or put nodes and draw lines between them
% 		\NDPput[x=7, y=25]{\pnode{A}}
% 		\NDPput[x=8, y=45]{\pnode{B}}
% 		\ncline{A}{B}
% 		
% 		% horizontal or vertical lines
% 		\NDPhline[style=StdLineStyF]{27}
% 		\NDPvline[style=StdLineStyG]{14}
% 		
% 		\NDPput[x=10, y=45]{\cnode{0.25}{Test}}
% 		
% 		\NDPput[x=13, y=48.3]{
% 			\rnode{TestOval}{\psovalbox[framesep=4mm]{\hspace{8mm}}}
% 		}
% 		
% 	\end{NumericDataPlot}
% 	Vielleicht will ich genau \rnode{TestA}{hier} etwas zeigen. Oder genau
% 	\rnode{TestOvalA}{hier?}
% 	\ncline{->}{TestA}{Test}
% 	\ncline{->}{TestOvalA}{TestOval}
% 	
% 	\LegendDefinition[nrCols=2]{
% 		\LegLine{style=Database} & Werte aus der Datenbank &
% 		\LegLine{style=Result} & Modell\\
% 	}
% 	
% 	
% } 