- Timestamp:
- Jun 29, 2013 7:40:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/xyresult.tcl
r3717 r3726 391 391 foreach {map(x) map(y)} [GetAxes $dataobj] break 392 392 foreach axis {x y} { 393 if {[$dataobj hints ${axis}scale] == "log"} { 394 set _limits(${axis}log) 1 395 } 393 396 # Get defaults for both linear and log scales 394 397 foreach type {lin log} { … … 552 555 553 556 foreach axis [$g axis names] { 554 if { [ $g axis cget $axis -logscale] } {557 if { [info exist _limits(${axis}log)] } { 555 558 set type "log" 559 set logscale 1 556 560 } else { 557 561 set type "lin" 562 set logscale 0 558 563 } 559 564 set amin "" … … 568 573 -hide yes -checklimits no \ 569 574 -command [itcl::code $this GetFormattedValue $axis] \ 570 -min $amin -max $amax 575 -min $amin -max $amax -logscale $logscale 571 576 } 572 577 # Presumably you want at least an X-axis and Y-axis displayed.
Note: See TracChangeset
for help on using the changeset viewer.