summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/12-0-3.mp
blob: 5514cb1821b99c58577d6ae6b0645e359b3a1af4 (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

defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
input graph
path m,w,last;
draw begingraph(2.4in,1.75in);
setrange((1800,0),(whatever,whatever));
gdata ("decade.dat",y,
  last:=((scantokens y1),0);
  augment.w(y1,y2);
  augment.m(y1,y3););
gfill (1800,0)--w--last--cycle
  withcolor red;
gfill (1800,0)--m--last--cycle
  withcolor green;
pickup pencircle scaled 3pt ;
gdraw w dashed withdots;
pickup pencircle scaled .75pt ;
glabel.bot (btex Number of burials per decade
     ($n \approx 4300$) etex,OUT);
endgraph;
endfig;
end;