summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-1-6.mp
blob: 6a2b7ee5ed878e6edd0a35384368809be0a6a306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% --- start of displayed preamble in the book ---

% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
for i=0 upto 5:
  draw (0,i*6mm)--(3cm,i*6mm);
endfor;
for i=0 upto 5:
  draw (i*6mm,0)--(i*6mm,3cm);
endfor;
endfig;
end;