molscript
Thomas J. Stout
thomas_stout at metaxen.com
Tue Aug 12 17:37:19 EST 1997
Previn Dutt wrote:
>
> hello all, I have a peculiar problem with coloring atoms in molscript.
> If I use the following syntax:
>
> set atomcolour atom * rgb 0.0 1.0 0.0;
> set planecolour rgb 0.0 1.0 0.0;
> ball-and-stick in from 1 to 55;
>
> set atomcolour atom * rgb 0.0 0.0 1.0;
> set planecolour rgb 0.0 0.0 0.1;
> ball-and-stick in residue 47;
>
> then the resulting picture is such that all the residues are green
> except for residue 47. In residue 47 some atoms are green and some are
> blue. I am trying to color all of residue 47 blue while still showing
> that it is bonded to residue 46. How can this be done?
>
> I would appreciate if anyone can help me out with this problem.
>
> my email address is: dutt at crystal.biochem.queensu.ca
> or 6ms7 at qlink.queensu.ca
You have an overlapping definition, i.e., residue 47 falls into
both coloring definitions (so it's getting colored twice).
Just split the first range definition into two: 1-46 and 48-55 and
you'll be all set!
-Tom
--
----------------------------------------------------------------------
Dr. Thomas J. Stout
Tel (510) 259-6823 MetaXen, LLC
Fax (510) 259-6801 3910 Trust Way
Email: thomas_stout at metaxen.com Hayward, CA 94545
----------------------------------------------------------------------
More information about the Xtal-log
mailing list