On Tue, 26 Mar 2002, Nat Echols wrote:

> Is there any way to color by secondary structure?  I know of other

It's a snap:

# first, load a structure with defined SS

load $PYMOL_PATH/test/dat/1tii.pdb
hide
show cartoon

# now color

color green
color red,ss h
color yellow,ss l
set cartoon_discrete_colors=1

NOTE: the last command turns off color annoying color blending between
secondary structure elements.

Cheers,
Warren



Reply via email to