wcopy/wpaste: copy spectra from one window to another

Usage:

wcopy [ source_win ]

wpaste [ target_win ] [ nodraw ]

Description:

wcopy copies information about how a source_win is drawn, this information can later be pasted into target_win with wpaste, effectively making target_win a duplicate of source_win when it was copied. The source and target windows may be the same.

If unspecified, source_win and target_win both default to the active window. The nodraw parameter defaults to zero. Any non-zero value of nodraw will result in target_win being drawn.

The nodraw parameter to wpaste might be useful in cases where part of a 3D or 4D is drawn, but the target window needs to be in a different plane. By specifying nodraw as non-zero, the time it takes to contour a plane is saved. This is done in snj in order to save multiple contouring operations.

Location:

/hhmi/nv3/hhmi/wcopy.tcl

/hhmi/nv3/hhmi/wpaste.tcl