summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/numericplots/doc/src/TestPlots.tex
blob: 9530a120c9f9ebfe5e5ade426eea00cc996e6e53 (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 Koenig, 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}


% +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\subsection{example}

\input{Roll406_Ref2288.tex}

\newpsstyle{PlotTitle}{fillstyle=solid, fillcolor=white, framearc=0.5, opacity=0.85, linestyle=none}

\newpsstyle{Rnew}{style=StdLineStyC, linestyle=dashed}
\newpsstyle{R}{style=StdLineStyC}
\newpsstyle{Rused}{linestyle=dashed}
\newpsstyle{ShapeMeasured}{style=StdLineStyB}
\newpsstyle{ShapeFitted}{style=StdLineStyA}
\newpsstyle{Dia}{style=StdLineStyD, showpoints=true, dotstyle=asterisk,
linestyle=none, dotsize=5pt}
\newpsstyle{DiaUsed}{style=Dia, dotstyle=+}

\begin{minipage}{0.7\linewidth}
		\begin{NumericDataPlot}{\textwidth}{8.3cm}
		
			\setxAxis{xMin=-2.4, xMax=2.4, Dx=1.0, xO=0.0}
			\setyAxis{yMin=-0.45, yMax=-0.05, Dy=0.1, yO=-0.2,
			yCoordMin=750}
			\plotxAxis[NoLabel, NoTickLabel]{$z$ in m}
			\plotyAxis{$\Delta r$ in mm}
			\listplot[style=ShapeMeasured]{\DataShapeMeasured}
			\listplot[style=ShapeFitted]{\DataShapeFitted}
			\putN{\psframebox[style=PlotTitle]{Formmessung}}
			
			
			\setyAxis{yMin=545.15, yMax=545.85, yO=545.4, Dy=0.2,
			yCoordMin=300, yCoordMax=700}
			\plotxAxis[NoLabel, NoTickLabel]{$z$ in m}
			\plotyAxis{$r$ in mm}
			\listplot[style=Rnew]{\DataRadiusNew}
			\listplot[style=Dia]{\DataRMeasured}
			
			\listplot[style=R]{\DataRadius}
			\ifx \DataRadiusUsed \empty
			\else
				\listplot[style=Rused]{\DataRadiusUsed}
				\listplot[style=DiaUsed]{\DataRMeasuredUsed}
			\fi
			
			\putN{\psframebox[style=PlotTitle]{Walzenprofil}}
			
			\setyAxis{yMin=-0.45, yMax=0.05, yO=0.0, Dy=0.1, yCoordMax=250}
			\plotxAxis{$z$ in m}
			\plotyAxis{$w$ in mm}
			
			\listplot[style=StdLineStyX]{\DataWear}
			\listplot[style=StdLineStyY]{\DataMeasuredWear}
			
			\putN{\psframebox[style=PlotTitle]{Verschleiß}}
		
		\end{NumericDataPlot}
\end{minipage}
\begin{minipage}{0.3\linewidth}
	\renewcommand{\arraystretch}{1.5}
	\newlength{\mylen}\settowidth{\mylen}{Approximation}
	\begin{tabular}{|p{15pt}p{\mylen}|}%
		\hline
		\LegLine[LegLineWidth=15pt]{style=ShapeMeasured} & Formmessung\\
		\LegLine[LegLineWidth=15pt]{style=ShapeFitted} & Approximation\\
		\hline\hline
		\LegLine[LegLineWidth=15pt]{style=Dia} & Durchmesser\-messung\\
		\LegLine[LegLineWidth=15pt]{style=Rnew} & $R_\text{new}$\\
		\hline
		\LegLine[LegLineWidth=15pt]{style=R} & $R = R_\text{new} + w_\text{DB}$\\
		\LegLine[LegLineWidth=15pt]{style=Rused} & $R_\text{used}$\\
		\LegLine[LegLineWidth=15pt]{style=DiaUsed} & Durchmesser\-messung\\
		\hline\hline
		\LegLine[LegLineWidth=15pt]{style=StdLineStyX} & $w_\text{DB}$\\
		\LegLine[LegLineWidth=15pt]{style=StdLineStyY} &
		$w_\text{Messung}=R_\text{used}-R_\text{new}$\\
		\hline
	\end{tabular}%
	\renewcommand{\arraystretch}{1}
\end{minipage}



% +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



\subsection{bode plot}

\input{examples/data_BodeDiagrammLinearerTerm}
\input{examples/BodeDiagramm}

\lstinputlisting{examples/BodeDiagramm.tex}


% +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


\subsection{areas in a plot}

\input{examples/data_SprungantwortPT1Glied}
\input{examples/Sprungantwort_PT1Glied}

\lstinputlisting{examples/Sprungantwort_PT1Glied.tex}