diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc/12-0-3.mp |
Initial commit
Diffstat (limited to 'info/examples/lgc/12-0-3.mp')
-rw-r--r-- | info/examples/lgc/12-0-3.mp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/info/examples/lgc/12-0-3.mp b/info/examples/lgc/12-0-3.mp new file mode 100644 index 0000000000..5514cb1821 --- /dev/null +++ b/info/examples/lgc/12-0-3.mp @@ -0,0 +1,24 @@ + +defaultfont:="ptmr8r"; +warningcheck:=0; +beginfig(1) +input graph +path m,w,last; +draw begingraph(2.4in,1.75in); +setrange((1800,0),(whatever,whatever)); +gdata ("decade.dat",y, + last:=((scantokens y1),0); + augment.w(y1,y2); + augment.m(y1,y3);); +gfill (1800,0)--w--last--cycle + withcolor red; +gfill (1800,0)--m--last--cycle + withcolor green; +pickup pencircle scaled 3pt ; +gdraw w dashed withdots; +pickup pencircle scaled .75pt ; +glabel.bot (btex Number of burials per decade + ($n \approx 4300$) etex,OUT); +endgraph; +endfig; +end; |