Thanks! And the util.rainbow works, too, but it produces different result than the default spectrum.
However, there seems to be no PyMOL API for spectrum: cmd.spectrum So unfortunately I am unable to code that command in a python loop..... (or I am missing something again?) -shuhsien -----Original Message----- From: Warren DeLano [mailto:war...@delanoscientific.com] Sent: Thursday, April 08, 2004 12:27 PM To: s...@bu.edu; pymol-users@lists.sourceforge.net Subject: RE: [PyMOL] color Yes, it's called spectrum...but it looks like the docs don't exist yet. PyMOL>spectrum ? Usage: spectrum [ expression [, palette [, selection [, minimum [, maximum [, byres [, quiet ]]]]]]] eg: spectrum b spectrum q spectrum b, selection=my_obj spectrum b, minimum=5, maximum=60 spectrum count, selection spectrum b, <TAB> will show you the list of spectra names currently available spectrum count, red_green etc. Cheers, Warren