blob: e8527acc39f0aba880605dd6e9de94869f805314 (
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
|
%%
%% Ein Beispiel der DANTE-Edition
%%
%% Beispiel 15-02-43 auf Seite 755.
%%
%% Copyright (C) 2012 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}
|