Changeset 110
- Timestamp:
- May 4, 2007 11:26:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/utils/bt5/bt5plot/bt5plot
r27 r110 2 2 3 3 package require BLT 4 package require Tix 4 5 5 6 #set images(normal) [image create photo -format gif -data { … … 333 334 pack $tvf -side left -fill y -anchor w 334 335 336 # Create Notebook 337 #set nb [tixNoteBook .vp.nb] 338 #$nb add plot -label "Plot" -underline 0 339 #$nb add data -label "File Data" -underline 0 340 #set plottab [frame [$nb subwidget plot].f] 341 #set datatab [frame [$nb subwidget data].f] 342 #pack $nb $plottab $datatab -fill both -expand true 343 344 # Create File Details Tab 345 346 335 347 # Create graph 348 #set graph [blt::graph $plottab.g] 336 349 set graph [blt::graph .vp.g] 337 350 pack $graph -fill both -expand true -side left -anchor w … … 343 356 bind .filter.filterEntry <Return> {filterTree [%W get]} 344 357 345 #button .filter.filterButton -text "Filter" -command {filterTree [.filter.filterEntry get]}346 358 pack .filter.filterLabel -side left 347 359 pack .filter.filterEntry -side left 348 #pack .filter.filterButton -side left349 #pack .filter.filterReset -side right -padx 25350 360 351 361 #Plot controls … … 354 364 button $pcf.filterReset -text "Clear Plot" -command {resetGraph} 355 365 356 ##Frame for radiobutton set to control plot type357 #set ptf [frame .filter.pc.pt -borderwidth 1 -relief raised]358 #radiobutton $ptf.c -text "Counts" -variable plotType -value "count" -command {foreach elem [$graph element show] { changePlotType $elem }}359 #radiobutton $ptf.cr -text "Count Rate" -variable plotType -value "countrate" -command {foreach elem [$graph element show] { changePlotType $elem }}360 #radiobutton $ptf.t -text "Trans" -variable plotType -value "trans" -command {foreach elem [$graph element show] { changePlotType $elem }}361 #radiobutton $ptf.m -text "Mon" -variable plotType -value "mon" -command {foreach elem [$graph element show] { changePlotType $elem }}362 #$ptf.c select363 #pack $ptf.m -side right364 #pack $ptf.t -side right365 #pack $ptf.cr -side right366 #pack $ptf.c -side right367 368 ##Frame for y-axis log/lin choice369 #set logfy [frame .filter.pc.logy -borderwidth 1 -relief raised]370 ##Log/lin radiobutton set371 #radiobutton $logfy.log -text "Log Y" -variable loglinY -value "yes" -command { changeLogLinY }372 #radiobutton $logfy.lin -text "Lin Y" -variable loglinY -value "no" -command { changeLogLinY }373 #$logfy.lin select374 #pack $logfy.log -side right375 #pack $logfy.lin -side right376 377 ##Frame for y-axis log/lin choice378 #set logfx [frame .filter.pc.logx -borderwidth 1 -relief raised]379 ##Log/lin radiobutton set380 #radiobutton $logfx.log -text "Log X" -variable loglinX -value "yes" -command { changeLogLinX }381 #radiobutton $logfx.lin -text "Lin X" -variable loglinX -value "no" -command { changeLogLinX }382 #$logfx.lin select383 #pack $logfx.log -side right384 #pack $logfx.lin -side right385 386 366 pack $pcf.filterReset -side right -padx 25 387 #pack $logfy -side right388 #pack $logfx -side right389 #pack $ptf -side right390 367 pack $pcf -side right 391 368
Note: See TracChangeset
for help on using the changeset viewer.