Changeset 11 for trunk/gui/scripts/spectrum.tcl
- Timestamp:
- May 30, 2005, 9:33:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/spectrum.tcl
r9 r11 14 14 # ====================================================================== 15 15 # AUTHOR: Michael McLennan, Purdue University 16 # Copyright (c) 2004 Purdue Research Foundation, West Lafayette, IN 16 # Copyright (c) 2004-2005 17 # Purdue Research Foundation, West Lafayette, IN 17 18 # ====================================================================== 18 19 package require Itk … … 160 161 error "wrong # args: should be \"get ?-color|-fraction? ?value?\"" 161 162 } 163 162 164 set value [lindex $args 0] 163 164 set value [Rappture::Units::convert $value \ 165 -context $units -to $units -units off] 165 if {$units != ""} { 166 set value [Rappture::Units::convert $value \ 167 -context $units -to $units -units off] 168 } 166 169 167 170 switch -- $what {
Note: See TracChangeset
for help on using the changeset viewer.