Changeset 1220 for trunk/gui/scripts/field.tcl
- Timestamp:
- Nov 17, 2008, 2:20:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r1189 r1220 574 574 set xv [blt::vector create x$_counter] 575 575 set yv [blt::vector create y$_counter] 576 577 foreach line [split $xydata \n] { 578 if {[scan $line {%g %g} xval yval] == 2} { 579 $xv append $xval 580 $yv append $yval 581 } 582 } 576 set tmp [blt::vector create \#auto] 577 $tmp set $xydata 578 $tmp split $xv $yv 579 blt::vector destroy $tmp 583 580 } 584 581 }
Note: See TracChangeset
for help on using the changeset viewer.