summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-2-1.mp
blob: 36760e73b3612cec1e23661f1b737292bf12975a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% --- start of displayed preamble in the book ---
input graph
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
draw begingraph(2.5in,1.75in);
gdraw "yearm.dat" dashed evenly;
gdraw "yearw.dat";
glabel.lft
 (btex (solid) Women etex, 1960,30);
glabel.lft
 (btex (dashed) Men etex ,1870,30);
glabel.bot
 (btex Number of burials per year
 ($n \approx 4300$) etex,OUT);
endgraph;
endfig;
end;