summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx
blob: 3535d9da5ca43a9e47dd793a6df97d46e18d3755 (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
%% 
%%  A DANTE-Edition example
%% 
%% 
%%  Copyright (C) 2011 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[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\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*}

\usepackage{pst-plot}

\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=\footnotesize,
    mathLabel=false]{->}(0,0)(0,-7.5)(120,8.5)
  \psset{linewidth=2pt}
  \listplot[linecolor=green,plotNo=1,plotNoMax=3]{\Data}
  \listplot[linecolor=red,plotNo=2,plotNoMax=3]{\Data}
  \listplot[linecolor=blue,plotNo=3,plotNoMax=3]{\Data}
\end{pspicture}
\end{document}