summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/15-02-43.mp2
blob: 0c4ad72bdce1aeac8efa2ab191023a6f510ecfb0 (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 15-02-43 auf Seite 733.
%% 
%%  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.
%% 
%% 
%% ==== 
verbatimtex
%% 
\documentclass[]{article}
\usepackage[T1]{fontenc}
\begin{document}
etex
% --- start of displayed preamble in the book ---
input graph; input sarith;
% --- end of displayed preamble in the book ---
beginfig(1)
draw
begingraph(8cm,6cm)
  gdata("data/mp/data2-mp.dat", v, path p;
    augment p(v1 Ssub "0.5",0); augment p(v1 Ssub "0.5",v2);
    augment p(v1 Sadd "0.5",v2);augment p(v1 Sadd "0.5",0);
    gfill p--cycle withcolor 0.8white; gdraw p--cycle; );
  gdraw "data/mp/data3-mp.dat" withcolor blue withpen pencircle scaled 2bp;
    gdraw "data/mp/data4-mp.dat" dashed evenly withpen pencircle scaled 2bp;
endgraph;
endfig;
end;
\end{document}