Changeset 2560 for branches/blt4


Ignore:
Timestamp:
Sep 22, 2011, 6:01:02 AM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/histogramresult.tcl

    r2532 r2560  
    797797        }
    798798    }
     799    set stepsize 1.0
    799800    if { [array size _xlabels] > 0 } {
    800801        set command [itcl::code $this FormatLabels]
     802        if { [array size _xlabels] > 20 } {
     803           set stepsize 0.0
     804        }
    801805    } else {
    802806        set command ""
    803807    }
    804     $g axis configure x -command $command
     808    $g axis configure x -command $command -stepsize $stepsize
    805809    $g configure -invertxy $invert
    806810    $itk_component(legend) reset
Note: See TracChangeset for help on using the changeset viewer.