summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-2-2.mp
blob: dbabd811f8e3d11ec19473d9090317cf8837d4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% --- 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"
 plot btex $\bullet$ etex;
gdraw "yearw.dat"
 plot btex $\circ$ etex;
glabel.bot
 (btex Burials etex,OUT);
glabel.lft
 (btex Number etex rotated 90,OUT);
endgraph;
endfig;
end;