summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp')
-rw-r--r--Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp b/Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp
new file mode 100644
index 00000000000..82c5e02073f
--- /dev/null
+++ b/Master/texmf-doc/doc/english/latex-graphics-companion/3-3-16.mp
@@ -0,0 +1,30 @@
+input graph
+defaultfont:="ptmr8r";
+warningcheck:=0;
+beginfig(1)
+path m[],w[];
+def wcheck(expr decade,value) =
+ augment.w1(decade,0);
+ augment.w1(decade,value);
+ augment.w1(decade+5,value);
+ augment.w1(decade+5,0);
+enddef;
+def mcheck(expr decade,value) =
+ augment.m1(decade+5,0);
+ augment.m1(decade+5,value);
+ augment.m1(decade+10,value);
+ augment.m1(decade+10,0);
+enddef;
+draw begingraph(3.75in,2in);
+gdata ("decade.dat",y,
+ wcheck((scantokens y1),(scantokens y2));
+ mcheck((scantokens y1),(scantokens y3)););
+gfill m1--cycle;
+gdraw w1;
+glabel.bot (btex Number of burials per decade
+ ($n \approx 4300$) etex,OUT);
+frame.llft;
+endgraph rotated 90;
+
+endfig;
+end;