diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-19 16:18:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-19 16:18:29 +0000 |
commit | 96b0b0d816058a1ec98b27f72d6bd57a82e5bf5d (patch) | |
tree | bf4564ef02357935f01e4a31eaa816b33a990e19 /Master/texmf-dist/doc/latex/numericplots/TestPlots.tex | |
parent | 77215650a9e7341885b43f4abd9c747055caca1c (diff) |
numericplots (minus matlab)
git-svn-id: svn://tug.org/texlive/trunk@19805 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.tex | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex b/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex new file mode 100644 index 00000000000..16093086804 --- /dev/null +++ b/Master/texmf-dist/doc/latex/numericplots/TestPlots.tex @@ -0,0 +1,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\\ +% } +% +% +% }
\ No newline at end of file |