Jeff, It would take a little Python programming, but modules/pymol/util.py has the rainbow command which can be modified so as to give a more restricted gradient than the current rainbow.
usage: load prot.pdb util.rainbow("prot") (or just select the rainbow option on the color pop-up menu on "prot") Cheers, Warren -- mailto:war...@sunesis.com Warren L. DeLano, Ph.D. Informatics Manager Sunesis Pharmaceuticals, Inc. 341 Oyster Point Blvd. S. San Francisco, CA 94080 (650)-266-3606 FAX:(650)-266-3501 -----Original Message----- From: jeff chao [mailto:jac...@scripps.edu] Sent: Thursday, July 11, 2002 2:40 PM To: pymol-users@lists.sourceforge.net Subject: [PyMOL] color gradient i would like to make a color gradient (something like purple-cyan) from N to C. is there an easy way to do this? thanks, jeff ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jeffrey A. Chao The Scripps Research Institute PHONE: (858)784-8743 Molecular Biology MB 33 FAX: (858)784-2903 10550 N. Torrey Pines Road E-MAIL: jac...@scripps.edu La Jolla, CA 92037 USA ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^