summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
blob: 16093086804062ffc6db303c4c22c6ca3839ca33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
% 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\\
% 	}
% 	
% 	
% }