summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-2-3.mp
blob: debe822e7749259e60ba4a254780d4b4b8e583b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% --- start of displayed preamble in the book ---
input graph
% --- end of displayed preamble in the book ---
% graphic converted to gray in book using 'color2gray'
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
draw begingraph(2.5in,1.75in);
gfill "yearw.dat" withcolor red;
autogrid(grid.bot,itick.rt)
  withcolor .5white;
frame.llft;
endgraph;
endfig;
end;