Changeset 349 for sans/utils/bt5


Ignore:
Timestamp:
May 4, 2008 11:24:59 PM (15 years ago)
Author:
ajj
Message:

Add count rate to bottom of display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/utils/bt5/bt5plot/bt5plot

    r215 r349  
    366366        global sumvar 
    367367        global monvar 
     368        global ratevar 
    368369        global valMarkElem 
    369370 
     
    382383        set sumvar [lindex [[ join "$elem _countvec" ""] range $vecindex $vecindex] 0] 
    383384        set monvar [lindex [[ join "$elem _monvec" ""] range $vecindex $vecindex] 0] 
     385        set ratevar [lindex [[ join "$elem _countratevec" ""] range $vecindex $vecindex] 0] 
    384386 
    385387        if { [$graph element exists valMarker] == 1} {           
     
    397399                set sumvar ""; 
    398400                set monvar ""; 
     401                set ratevar ""; 
    399402                set valMarkElem ""; 
    400403                if { [$graph element exists valMarker] == 1} { 
     
    511514pack [label $dvdf.monlbl -text "Mon: "] -side left 
    512515pack [label $dvdf.mon -textvariable monvar] -side left 
     516pack [label $dvdf.ratelbl -text "Rate: "] -side left 
     517pack [label $dvdf.rate -textvariable ratevar] -side left 
    513518pack $dvdf -side right -anchor s 
    514519 
Note: See TracChangeset for help on using the changeset viewer.