summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/14-05-14.ltx
blob: 148dc6a6775e36f03091032477b1ce1092fc774e (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 14-05-14 auf Seite 244.
%% 
%%  Copyright (C) 2016 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{193.16928pt}
\setlength\parindent{0pt}
\usepackage{filecontents}
\begin{filecontents*}{dataMul.dat}
[% file dataMul.dat
0    0    3.375    0.0625 10    5.375    7.1875    4.5
20    7.1875    8.375    6.25 30    5.75    7.75    6.6875
40    2.1875    5.75    5.9375 50    -1.9375    2.1875    4.3125
60    -5.125    -1.8125    0.875 70    -6.4375    -5.3125    -2.6875
80    -4.875    -7.1875    -4.875 90    0    -7.625    -5.625
100    5.5    -6.3125    -5.8125 110    6.8125    -2.75    -4.75
120    5.25    2.875    -0.75 ]
\end{filecontents*}
%StartShownPreambleCommands
\usepackage{pst-plot}
%StopShownPreambleCommands
\begin{document}
\readdata\Data{dataMul.dat} \psset{xunit=0.1cm, yunit=0.3cm}
\begin{pspicture}(-6,-7.5)(125,10)
  \psaxes[Dx=10,Dy=2.5,labelFontSize=\scriptstyle]{->}(0,0)(0,-7.5)(120,8.5)
  \listplot[linewidth=2pt,linecolor=green,plotNo=1,plotNoMax=3]{\Data}
  \listplot[linewidth=2pt,linecolor=red,plotNo=2,plotNoMax=3]{\Data}
  \listplot[linewidth=2pt,linecolor=blue,plotNo=3,plotNoMax=3]{\Data}
\end{pspicture}
\end{document}