[chimerax-users] Reverse color byhet

Tom Goddard goddard at sonic.net
Thu Feb 13 15:05:30 PST 2020


Hi Ahmad,

  What I stated in the previous email was not right.  When you use "color zone" points on the surface greater than the specified distance from any atom get the surface single color.  Multicolored surfaces also remember a single color even when showing the multiple colors and that is the color used for the distant regions.  I improved the color zone command just now adding a farColor option that lets you specify the color beyond the distance range.

	color zone #1 near #2/A distance 4 farColor blue

  Back to your original question -- the "color zone" command colors a surface to match the atoms.  So of course if you use "byhet" coloring on the atoms and then do color zone the surface is going to show the byhet coloring.  You need to set the atom colors first to be the colors you want on the surface and then do color zone.

	Tom


> On Feb 13, 2020, at 2:33 PM, Tom Goddard <goddard at sonic.net> wrote:
> 
> Hi Ahmad,
> 
>  The "color zone" command (color zone #5 near #2 distance 4) only colors parts of the surface within the specified distance range.  If part of the surface is beyond the distance from all atoms then it retains its old colors.  So if you want those distance regions to be a specific color you should color the whole surface with that color before doing the color zone.
> 
> 	Tom
> 
> 
>> On Feb 13, 2020, at 12:18 PM, Ahmad Khalifa <underoath006 at gmail.com> wrote:
>> 
>> If I color byhet then color zone a volume, the volume takes some colors from the hetero atom colors.
>> 
>> How to reverse byhet coloring?
>> 
>> Regards. 
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 
> 
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 




More information about the ChimeraX-users mailing list