Changeset 3074


Ignore:
Timestamp:
Jul 5, 2012, 10:26:37 AM (12 years ago)
Author:
mmc
Message:

Fixed a problem with the <number> results. The simulation number (#1, etc.)
wasn't being reported with a normalized value, so it didn't know where to
plot them along the x axis. Also, values like 77K did have a normalized
value, but it was in the wrong place (index 0 instead of index 1).

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/numberresult.tcl

    r3010 r3074  
    14891489itcl::body Rappture::NumberResult::GetValue {dataobj {which both}} {
    14901490    if {[info exists _dataobj2param($dataobj)]} {
    1491         set x [lindex $_dataobj2param($dataobj) 1]
     1491        set x [lindex $_dataobj2param($dataobj) 0]
    14921492    } else {
    14931493        set x 0
  • trunk/gui/scripts/resultset.tcl

    r3024 r3074  
    248248                if {$col == "simnum"} {
    249249                    set val [$_results get -format simnum $irun]
     250                    return [list $irun $val]
    250251                } else {
    251252                    # Be careful giving singleton elements as the
Note: See TracChangeset for help on using the changeset viewer.