Changeset 4717 for branches/1.3


Ignore:
Timestamp:
Nov 13, 2014, 5:59:08 AM (5 years ago)
Author:
ldelgass
Message:

trunk sync

Location:
branches/1.3/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/bugreport.tcl

    r4652 r4717  
    490490    package require http
    491491    package require tls
    492     http::register https 443 [list ::tls::socket -tls1 1] 
     492    http::register https 443 [list ::tls::socket -tls1 1]
    493493
    494494    set report $details(stackTrace)
  • branches/1.3/gui/scripts/field.tcl

    r4701 r4717  
    453453                if {$log} {
    454454                    blt::vector tmp zero
    455                     # on a log scale, use abs value and ignore 0's
     455                    # on a log scale, use abs value and ignore zeros
    456456                    $vname dup tmp
    457457                    $vname dup zero
    458                     zero expr {tmp == 0}            ;# find the 0's
     458                    zero expr {tmp == 0}            ;# find the zeros
    459459                    tmp expr {abs(tmp)}             ;# get the abs value
    460                     tmp expr {tmp + zero*max(tmp)}  ;# replace 0's with abs max
     460                    tmp expr {tmp + zero*max(tmp)}  ;# replace 0s with abs max
    461461                    set axisMin [blt::vector expr min(tmp)]
    462462                    set axisMax [blt::vector expr max(tmp)]
Note: See TracChangeset for help on using the changeset viewer.