Changeset 858 for trunk/gui/scripts
- Timestamp:
- Jan 25, 2008, 10:25:14 AM (17 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/historesult.tcl
r856 r858 22 22 option add *HistogramResult*y.loose 1 widgetDefault 23 23 option add *HistogramResult*Element.relief solid widgetDefault 24 option add *HistogramResult*Element.borderWidth 0 widgetDefault 24 option add *HistogramResult*Element.borderWidth 1 widgetDefault 25 # Don't let the step size default to 1.0 (for barcharts) 26 option add *HistogramResult*x.stepSize 0.0 widgetDefault 25 27 26 28 option add *HistogramResult.width 3i widgetDefault … … 791 793 set min $_limits(${axis}lin-min) 792 794 set max $_limits(${axis}lin-max) 793 794 795 if {[string match y* $axis]} { 795 796 # add a little padding -
trunk/gui/scripts/unirect2d.tcl
r856 r858 136 136 } 137 137 v - xlin - vlog - z - zlin - zlog { 138 set min [blt::vector expr min($_zv)] 139 set max [blt::vector expr max($_zv)] 138 if { [$_zv length] > 0 } { 139 set min [blt::vector expr min($_zv)] 140 set max [blt::vector expr max($_zv)] 141 } else { 142 set min 0.0 143 set max 1.0 144 } 140 145 set axis "zaxis" 141 146 }
Note: See TracChangeset
for help on using the changeset viewer.