Changeset 1683 for branches/blt4/gui/scripts/xyresult.tcl
- Timestamp:
- Apr 1, 2010, 11:19:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/gui/scripts/xyresult.tcl
r1644 r1683 206 206 Rappture::Combobox $inner.format -width 15 -editable no 207 207 $inner.format choices insert end \ 208 "%. 3g" "Auto" \208 "%.6g" "Auto" \ 209 209 "%.0f" "X" \ 210 210 "%.1f" "X.X" \ … … 231 231 232 232 foreach axis {x y} { 233 set _axisPopup(format-$axis) "%. 3g"233 set _axisPopup(format-$axis) "%.6g" 234 234 } 235 235 _axis scale x linear … … 662 662 663 663 foreach axis $all { 664 set _axisPopup(format-$axis) "%. 3g"664 set _axisPopup(format-$axis) "%.6g" 665 665 666 666 $g axis bind $axis <Enter> \ … … 1442 1442 1443 1443 if {[$itk_component(plot) axis cget $axis -logscale]} { 1444 set fmt "%. 3g"1444 set fmt "%.6g" 1445 1445 } else { 1446 1446 set fmt $_axisPopup(format-$axis)
Note: See TracChangeset
for help on using the changeset viewer.