summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-07-26 23:26:28 +0000
committerKarl Berry <karl@freefriends.org>2011-07-26 23:26:28 +0000
commit792ab47701eef9ed7c77ca44fb642b53189aba33 (patch)
tree168b086ed1ee1a8d519040863defe2a6ab4bd8d5 /Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
parente2d56f5c45ad8c6d04d5b28277819d0d35ee1f1a (diff)
numericplots (14jul11)
git-svn-id: svn://tug.org/texlive/trunk@23241 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/numericplots/TestPlots.tex')
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/TestPlots.tex176
1 files changed, 77 insertions, 99 deletions
diff --git a/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex b/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
index 16093086804..87548496b95 100644
--- a/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex
@@ -1,4 +1,4 @@
-% Copyright 2010 Thomas König, Alexander Michel
+% Copyright 2010 Thomas Koenig, Alexander Michel
%
% This file is part of NumericPlots.
%
@@ -17,106 +17,84 @@
\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}
+
+
+\clearpage
+
+\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}{7cm}
+
+ \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[xLabelSep=0.4mm, NoLabel, NoTickLabel]{$z$ in m}
+ \plotyAxis[yLabelSep=0.8cm]{$\Delta r$ in mm}
+ \listplot[style=ShapeMeasured]{\DataShapeMeasured}
+ \listplot[style=ShapeFitted]{\DataShapeFitted}
+ \putN{\psframebox[style=PlotTitle]{Formmessung}}
- \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$}
+ \setyAxis{yMin=545.15, yMax=545.85, yO=545.4, Dy=0.2,
+ yCoordMin=300, yCoordMax=700}
+ \plotxAxis[xLabelSep=0.4mm, NoLabel, NoTickLabel]{$z$ in m}
+ \plotyAxis[yLabelSep=0.8cm]{$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[yLabelSep=0.8cm]{$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}
- \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\\
-% }
-%
-%
-% } \ No newline at end of file