Changeset 3711
 Timestamp:
 Jun 24, 2013 9:34:21 AM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/gui/scripts/xyresult.tcl
r3705 r3711 485 485 # store results  ex: _limits(x2logmin) 486 486 set id $map($axis)$type 487 foreach {min max} [$dataobj limits $axis$type] break 488 set amin [$dataobj hints ${axis}min] 489 set amax [$dataobj hints ${axis}max] 490 if { $amin != "" } { 491 set min $amin 492 } 493 if { $amax != "" } { 494 set max $amax 495 } 487 set min [$dataobj hints ${axis}min] 488 set max [$dataobj hints ${axis}max] 496 489 if {"" != $min && "" != $max} { 497 490 if {![info exists _limits($idmin)]} { … … 507 500 } 508 501 } 509 }510 if 0 {511 if {[$dataobj hints ${axis}scale] == "log"} {512 Axis scale $map($axis) log513 }514 502 } 515 503 } … … 1941 1929 set type "lin" 1942 1930 } 1943 set amin $_limits(${axis}${type}min) 1944 set amax $_limits(${axis}${type}max) 1931 set amin "" 1932 if { [info exists _limits(${axis}${type}min)] } { 1933 set amin $_limits(${axis}${type}min) 1934 } 1935 set amax "" 1936 if { [info exists _limits(${axis}${type}max)] } { 1937 set amax $_limits(${axis}${type}max) 1938 } 1945 1939 set auto 1 1946 1940 if { $amin != ""  $amax != "" } {
Note: See TracChangeset
for help on using the changeset viewer.