changeset 149:1b80cc146932

grap: Improved the number-of-switches diagram.
author markus schnalke <meillo@marmaro.de>
date Thu, 05 Jul 2012 21:06:57 +0200
parents e042616ad3a2
children 472aa79f9b6f
files input/switches.grap
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/input/switches.grap	Thu Jul 05 20:33:04 2012 +0200
+++ b/input/switches.grap	Thu Jul 05 21:06:57 2012 +0200
@@ -3,14 +3,16 @@
 label left "number" "of" "switches" left .1
 label bot "40 tools" up .2
 ticks bot off
-draw n1 dotted
-draw m1 solid
 copy "input/switches.data" thru {
-        next n1 at $1,$2
-        next m1 at $1,$4
+	"\(ci" size -7 at $1+.45, $2
+	"\(bu" size +3 at $1+.5, $4
+	line dotted from $1+.5,$4 to $1+.5,$2-1.4 
+	line from $1+.5,0 to $1+.5,$4
 }
-copy thru { "$1" size -3 at 4,$2 } until "XXX"
-nmh 35
-mmh 6
-XXX
+"nmh" size -3 at 30,40
+line dotted from 33,40 to 36-.7,40
+"\(ci" size -7 at 36,40+.3
+"mmh" size -3 at 30,35
+line from 33,35 to 36,35
+"\(bu" size +3 at 36,35-.3
 .G2