Changeset 350


Ignore:
Timestamp:
May 4, 2008 11:42:26 PM (14 years ago)
Author:
ajj
Message:

Fixed valMarker problem.
Made rate display work properly

File:
1 edited

Legend:

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

    r349 r350  
    231231            $tv entry configure $nodeID -icons "$images(normal) $images(normal)"                 
    232232         
    233             $graph element delete $filebase 
    234             if { [string equal $filebase $valMarkElem] == 1 } { 
    235                 $graph element delete valMarker 
     233            if { [$graph element exists valMarker] == 1 } { 
    236234                clearValMarks 
    237235            } 
     236            $graph element delete $filebase 
    238237         
    239238            set xvec [join "$filebase _xvec" ""] 
     
    280279    set flvec [join "$elem _flvec" ""] 
    281280 
    282         global $xvec $countvec $transvec $monvec 
     281    global $xvec $countvec $transvec $monvec $countratevec 
    283282    global $cvec $brvec $blvec $frvec $flvec 
    284283         
    285284        switch -exact $plotType { 
    286                         count { $graph element configure $elem -ydata $countvec} 
    287                         countrate { $graph element configure $elem -ydata $countratevec} 
    288                         trans { $graph element configure $elem -ydata $transvec} 
    289                         mon { $graph element configure $elem -ydata  $monvec} 
    290                     central { $graph element configure $elem -ydata  $cvec} 
    291                     backl {$graph element configure $elem -ydata $blvec} 
    292                     backr {$graph element configure $elem -ydata $brvec} 
    293                     frontl {$graph element configure $elem -ydata $flvec} 
    294                     frontr {$graph element configure $elem -ydata $frvec} 
     285                count { $graph element configure $elem -ydata $countvec} 
     286                countrate { $graph element configure $elem -ydata $countratevec} 
     287                trans { $graph element configure $elem -ydata $transvec} 
     288                mon { $graph element configure $elem -ydata  $monvec} 
     289                central { $graph element configure $elem -ydata  $cvec} 
     290                backl {$graph element configure $elem -ydata $blvec} 
     291                backr {$graph element configure $elem -ydata $brvec} 
     292                frontl {$graph element configure $elem -ydata $flvec} 
     293                frontr {$graph element configure $elem -ydata $frvec} 
    295294        } 
    296295} 
Note: See TracChangeset for help on using the changeset viewer.