Changeset 923
- Timestamp:
- Dec 4, 2009 5:14:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/excledt.tcl
- Property rcs:date changed from 2008/04/15 17:12:02 to 2008/07/14 01:15:07
- Property rcs:lines changed from +125 -82 to +26 -20
- Property rcs:rev changed from 1.15 to 1.16
r907 r923 66 66 set Ispec 0 67 67 set X -999 68 scan [string range $line 8end] %e%e%e%e \68 scan [string range $line 9 end] %e%e%e%e \ 69 69 X Iobs Icalc Ispec 70 #puts $line71 lappend allxlist $X72 70 # eliminate excluded points 73 71 if {$Ispec > 0.0 && $X >= 0} { 72 lappend allxlist $X 74 73 lappend xlist $X 75 74 lappend obslist $Iobs 76 75 lappend calclist $Icalc 77 76 } elseif {$X != -999} { 77 lappend allxlist $X 78 78 lappend exclistx $X 79 79 lappend exclistobs $Iobs … … 340 340 } 341 341 342 proc GetSymbolOpts {"sym obs" {parent ""} {342 proc GetSymbolOpts {"sym obs" {parent ""}} { 343 343 global expgui peakinfo 344 344 set box $parent.out … … 1316 1316 set graph(plot) [graph $graph(exclbox).g -plotbackground white] 1317 1317 } errmsg] { 1318 set msg "BLT Setup Error: could not create a graph" 1319 append msg "\n(error msg: $errmsg)." 1320 append msg "\nThere is a problem with the setup of BLT on your system." 1321 append msg "\nSee the expgui.html file for more info." 1318 1322 MyMessageBox -parent $graph(exclbox) -title "BLT Error" \ 1319 -message "BLT Setup Error: could not create a graph \ 1320 (error msg: $errmsg). \ 1321 There is a problem with the setup of BLT on your system. \ 1322 See the expgui.html file for more info." \ 1323 -helplink "expgui.html blt" \ 1323 -message $msg \ 1324 -helplink "expgui.html blt" \ 1324 1325 -icon warning -type Skip -default "skip" 1325 1326 destroy $graph(exclbox) … … 1329 1330 Blt_ZoomStack $graph(plot) 1330 1331 } errmsg] { 1332 set msg "BLT Setup Error: could not access a Blt_ routine" 1333 append msg "\nBLT Setup Error: " 1334 append msg "\n(error msg: $errmsg)." 1335 append msg "\nSee the expgui.html file for more info." 1336 append msg "\nThe pkgIndex.tcl is probably not loading bltGraph.tcl." 1337 append msg "\nSee the expgui.html file for more info." 1331 1338 MyMessageBox -parent $graph(exclbox) -title "BLT Error" \ 1332 -message "BLT Setup Error: could not access a Blt_ routine \ 1333 (msg: $errmsg). \ 1334 The pkgIndex.tcl is probably not loading bltGraph.tcl. 1335 See the expgui.html file for more info." \ 1336 -helplink "expgui.html blt" \ 1337 -icon warning -type {"Limp Ahead"} -default "limp Ahead" 1339 -message $msg \ 1340 -helplink "expgui.html blt" \ 1341 -icon warning -type {"Limp Ahead"} -default "limp Ahead" 1338 1342 } 1339 1343 $graph(plot) element create 3 -color black -linewidth 0 -label Obs \ … … 1554 1558 # catch exits -- launch POWPREF; if changes non-zero 1555 1559 wm protocol $graph(exclbox) WM_DELETE_WINDOW "CheckChanges $startchanges;destroy $graph(exclbox)" 1556 # respond to resize events 1557 bind $graph(exclbox) <Configure> scheduleFillExclRegionBox 1558 bind all <Control-KeyPress-c> "CheckChanges $startchanges;destroy $graph(exclbox)" 1560 # respond to resize events & control C (except on Windows) 1561 if {$::tcl_platform(platform) != "windows"} { 1562 bind $graph(exclbox) <Configure> scheduleFillExclRegionBox 1563 bind all <Control-KeyPress-c> "CheckChanges $startchanges;destroy $graph(exclbox)" 1564 } 1559 1565 #putontop $graph(exclbox) 1560 wm deiconify $graph(exclbox)1566 #wm deiconify $graph(exclbox) 1561 1567 wm iconify . 1562 1568 update
Note: See TracChangeset
for help on using the changeset viewer.