summaryrefslogtreecommitdiff
path: root/info/examples/Einfuehrung2/15-02-43.mp2
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Einfuehrung2/15-02-43.mp2')
-rw-r--r--info/examples/Einfuehrung2/15-02-43.mp239
1 files changed, 39 insertions, 0 deletions
diff --git a/info/examples/Einfuehrung2/15-02-43.mp2 b/info/examples/Einfuehrung2/15-02-43.mp2
new file mode 100644
index 0000000000..0c4ad72bdc
--- /dev/null
+++ b/info/examples/Einfuehrung2/15-02-43.mp2
@@ -0,0 +1,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}