next up previous contents index
Next: 6.4.5 Setting the transparent Up: 6.4 VMD Script Commands Previous: 6.4.3 Creating a set

6.4.4 Revert all RGB values to defaults

      After some of the color definitions have been changed and you want to restore the default definitions, the following procedure might be useful.

proc revert_colors {} { 
  display update off
  foreach color [colorinfo colors] {
    color change rgb $color
  }
  display update on
}



Sergei Izrailev
Fri Jul 25 17:07:27 CDT 1997