summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/25-02-47.ltx
blob: 8f319d4eff2da304f782f1b946086f729e2876a8 (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\usepackage{filecontents}
\begin{filecontents*}{numerical-data.tex}
\def\DataDBforce{
2 58.828
3 56.353
4 58.817
5 55.814
6 56.713
7 52.671
8 56.493
9 48.933
10 52.068
11 45.674
12 48.869
13 48.317
14 49.677
15 62.636
16 51.374
17 48.876
}
\def\DataDBforceC{
2 50.828
3 50.353
4 56.817
}
\def\DataDBforceD{
2 40.828
3 40.353
4 46.817
}
\def\DataDBforceE{
2 30.828
3 30.353
4 36.817
}
\def\DataDBforceF{
2 20.828
3 20.353
4 26.817
}
\def\DataDBforceG{
2 60.828
3 60.353
4 66.817
}
\def\DataRESforce{
2 62.894
3 59.824
4 59.908
5 56.158
6 54.775
7 50.489
8 50.897
9 44.732
10 44.923
11 39.731
12 39.663
13 37.731
14 36.13
15 38.342
16 30.646
17 28.224
}
\def\DataDBhex{
2 93
3 87.09
4 80.44
5 74.57
6 68.55
7 63.55
8 57.9
9 53.86
10 49.4
11 46.09
12 42.51
13 39.17
14 35.98
15 32.39
16 30.25
17 28.53
}
\def\DataREShexint{
2 88.312
3 82.771
4 76.83
5 71.332
6 65.886
7 61.094
8 56.068
9 52.002
10 48.015
11 44.735
12 41.543
13 38.397
14 35.457
15 32.409
16 29.98
17 28.332
}
\end{filecontents*}
\StartShownPreambleCommands
\usepackage[xAxisStyle=Lower,yAxisStyle=Left]{NumericPlots}
\StopShownPreambleCommands
\begin{document}
\input{numerical-data}
\newpsstyle{Database}{style=StdLineStyA,dotstyle=*,showpoints}
\newpsstyle{Result}{style=StdLineStyB, dotstyle=+,showpoints}
\begin{NumericDataPlot}[]{0.65\linewidth}{0.4\linewidth}
  \setxAxis{xMin=2,xMax=17,xO=5,Dx=4}      \setyAxis{yMin=20,yMax=70,yO=20,Dy=20}
  \plotxAxis[AxisStyle=Boxed]{Stichnummer} \plotyAxis[AxisStyle=Boxed]{$F_{roll}$ in MN}
  \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} & Messung\\ \LegLine{style=Result} & Modell}
\end{document}