Hi,
I'm aware of two ways to do this:
by writing the colour as a word, e.g:
color white, (mypdbfile//A/*/*)
which will colour a whole chain.
Or by using rgb colours, e.g:
set_color newcolor0 = [1,1,1]; color newcolor0, (mypdbfile//A/2/*)
which will colour individual residues (residue 2 in this case)
Pymol should accept a script containing such lines.
Hope that helps,
Rob
On 31 Mar 2010, at 15:00, Clayton, Gina Martyn wrote:
Dear Everyone
Slightly off topic...
I am trying to colour a structure by B factor in Pymol. More
specifically I am colouring conserved residues (value in b factor). I
want to use 4 colours - say white, yellow, orange, red. However it
seems that Pymol now only allows 3 colours to be used - I tried the
script from the Wiki site, but Pymol will not accept the 4 rgb
colours.
Does anyone have an idea how I can colour with 4 colours (but not
rainbow too confusing).
Thanks in advance for any help
Best
Gina
Notice: This e-mail message, together with any attachments,
contains information of Merck & Co., Inc. (One Merck Drive,
Whitehouse Station, New Jersey, USA 08889), and/or its affiliates
Direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html)
that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or
entity named on this message. If you are not the intended recipient,
and have received this message in error, please notify us
immediately by reply e-mail and then delete it from your system.