There are actually other spectrums built into the PyMOL. To use one
of them, type
spectrum palette=, selection=
The list of built-in palettes are in cmd.py of the code. All seem to
be multi color; so there are none that are just different shades of
one color.
__
Thank you for the script Andreas, it worked fine. Now, is there any way
to define wich objet is going to be colored? I want to use different
color hues for two different objects.
Thank you,
Mario Sanches
Andreas Henschel wrote:
Hi Mario,
you can define new colors wit the set_color command.
Hi Mario,
you can define new colors wit the set_color command.
below are two python functions that can define ranges,
one using HSV color space, one RGB. The former is a derivite
of a script earlier posetd by Robert L. Campbell on the wiki.
Hope that helps.
Cheers, Andreas
def hueSpectrum(hue1