diff options
Diffstat (limited to 'info/examples/lgc2/4-2-23.mp')
-rw-r--r-- | info/examples/lgc2/4-2-23.mp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/info/examples/lgc2/4-2-23.mp b/info/examples/lgc2/4-2-23.mp new file mode 100644 index 0000000000..87c7cdc524 --- /dev/null +++ b/info/examples/lgc2/4-2-23.mp @@ -0,0 +1,15 @@ +% --- start of displayed preamble in the book --- +input piechartmp; +% --- end of displayed preamble in the book --- +% graphic converted to gray in book using 'color2gray' +defaultfont:="ptmr8r"; +warningcheck:=0; +beginfig(1) +Segment(15,"Lions",auto); +Segment(6,"Tigers",auto); +Segment(10,"Hyaena",auto); +Segment(7,"Monkeys",auto); +Segment(5,"Warthogs",auto); +PieChart(1.5cm,0.1,30,120,0); +endfig; +end; |