diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/3-3-11.mp')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-graphics-companion/3-3-11.mp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/3-3-11.mp b/Master/texmf-dist/doc/latex/latex-graphics-companion/3-3-11.mp new file mode 100644 index 00000000000..8a7f0325486 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/3-3-11.mp @@ -0,0 +1,17 @@ +input graph +defaultfont:="ptmr8r"; +warningcheck:=0; +beginfig(1) +draw begingraph(2.5in,1.5in); +numeric p[]; path r; +for j := 0 upto 100: p[j]:=0; endfor +gdata ("ages.dat",y, age:=(scantokens y1); + p[age]:=p[age] + 1;); +r:=(0,0) + for j := 1 upto 100: --(j,p[j]) endfor; +gdraw r; +frame.llft; +endgraph; + +endfig; +end; |