clear - SpecTcl Command |
SpecTcl Home General Information User Guide Programmer's Guide Obtaining and Installing
clear -all clear pattern clear -id id [id...]
Zeroes the channesl of selected or all spectra.
Spectra can be referred to either by id or by name. Spectra can be selectively cleared or all spectra can be cleared.
Clears all spectra known to SpecTcl.
Clears all of the spectra whose name matches pattern.
Clears spectra by id.
clear -all ;# all spectra are cleared.
clear spec1 spec3 ;# Clears spectra named spec1 and spec3
clear -id 1 5 7 ;# Clears spectra with id's 1, 5 ,and 7.
for { set i = 0} {$i <= 10} {incr i 1} { clear -id $i } ;#
clears spectra with ids 0 through 10.
SpecTcl Home General Information User Guide Programmer's Guide Obtaining and Installing
Last Modified: October 28, 2003 by: fox@nscl.msu.edu
© Copyright NSCL 1999, All rights reserved