Changeset 3047 for trunk/gui/scripts


Ignore:
Timestamp:
Jun 19, 2012, 2:48:12 PM (12 years ago)
Author:
gah
Message:
 
Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r3021 r3047  
    446446            ::Rappture::Curve {
    447447                Rappture::XyResult $viewer
     448                pack $viewer -expand yes -fill both
     449            }
     450            ::Rappture::Histogram {
     451                Rappture::HistogramResult $viewer
    448452                pack $viewer -expand yes -fill both
    449453            }
  • trunk/gui/scripts/xyresult.tcl

    r2811 r3047  
    283283        -param ""
    284284    }
     285    # Override the defaults with first the <style> specified and then the
     286    # settings list passed into this routoue.
     287    array set params [$dataobj hints style]
    285288    foreach {opt val} $settings {
    286289        if {![info exists params($opt)]} {
     
    299302            set _autoColorI 0
    300303        }
    301         set color [lindex $itk_option(-autocolors) $_autoColorI]
     304        set color [lindex $itk_option(-autocolors) $_autoColorI]
    302305        if { "" == $color} {
    303306            set color black
     
    694697                set color $_dataobj2color($dataobj)
    695698            } else {
    696                 set color [$dataobj hints color]
    697                 if {"" == $color} {
    698                     set color black
    699                 }
     699                set color black
    700700            }
    701701            if {[info exists _dataobj2width($dataobj)]} {
     
    704704                set lwidth 2
    705705            }
    706 
    707706            if {[info exists _dataobj2dashes($dataobj)]} {
    708707                set dashes $_dataobj2dashes($dataobj)
     
    710709                set dashes ""
    711710            }
    712 
    713711            if {([$xv length] <= 1) || ($lwidth == 0)} {
    714712                set sym square
Note: See TracChangeset for help on using the changeset viewer.