From: Matthijs Kooijman Date: Tue, 29 Sep 2009 12:04:32 +0000 (+0200) Subject: Use save instead of clearObj in a MP drawing. X-Git-Tag: final-thesis~248 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b585bb305e914b8ad88da1876c8daef66e9bbb95;p=matthijs%2Fmaster-project%2Freport.git Use save instead of clearObj in a MP drawing. --- diff --git a/Chapters/Introduction.tex b/Chapters/Introduction.tex index 7458e2f..69fb7e4 100644 --- a/Chapters/Introduction.tex +++ b/Chapters/Introduction.tex @@ -26,6 +26,7 @@ andword = map not \startMPcode % Create objects + save a, inp, out; newCircle.inp(btex $\overrightarrow{input}$ etex) "framed(false)"; num := 4; for i=1 upto num: @@ -55,11 +56,6 @@ andword = map not drawObj(out); % Draw a dotted line between the middle operations ncline(a2)(a3) "linestyle(dashed withdots)", "arrows(-)"; - - % Clear everything - clearObj a; - clearObj inp; - clearObj out; \stopMPcode Slightly more complicated is the following incremental summation of values: