Changeset 4717 for branches/1.3
 Timestamp:
 Nov 13, 2014 2:59:08 AM (7 years ago)
 Location:
 branches/1.3/gui/scripts
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

branches/1.3/gui/scripts/bugreport.tcl
r4652 r4717 490 490 package require http 491 491 package require tls 492 http::register https 443 [list ::tls::socket tls1 1] 492 http::register https 443 [list ::tls::socket tls1 1] 493 493 494 494 set report $details(stackTrace) 
branches/1.3/gui/scripts/field.tcl
r4701 r4717 453 453 if {$log} { 454 454 blt::vector tmp zero 455 # on a log scale, use abs value and ignore 0's455 # on a log scale, use abs value and ignore zeros 456 456 $vname dup tmp 457 457 $vname dup zero 458 zero expr {tmp == 0} ;# find the 0's458 zero expr {tmp == 0} ;# find the zeros 459 459 tmp expr {abs(tmp)} ;# get the abs value 460 tmp expr {tmp + zero*max(tmp)} ;# replace 0 's with abs max460 tmp expr {tmp + zero*max(tmp)} ;# replace 0s with abs max 461 461 set axisMin [blt::vector expr min(tmp)] 462 462 set axisMax [blt::vector expr max(tmp)]
Note: See TracChangeset
for help on using the changeset viewer.