next up previous contents index
Next: Setting the transparent colors Up: VMD Script Commands for Previous: Creating a set of

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
}



Justin Gullingsrud
Tue Apr 6 09:22:39 CDT 1999