Evaluated proc magic:graph {nlist {increment 10}} { set s $increment; set w [+ 25 [* [llength $nlist] $s]]; set h [+ [*r [lnum $nlist] 2] 50]; set lx 25; set ly [- [/r $h 2] [first $nlist]]; mcanvas c $w $h; for {set i 25} {$i < $w} {incr i $s} { set c [next_in_list $nlist]; set ny [- [/r $h 2] $c]; magic:line c $lx $ly $i $ny strokeantialias 1; set lx $i; set ly $ny }; save c }