[Chimera-users] Changing Properties of Map At Different Viewing Angles

Elaine Meng meng at cgl.ucsf.edu
Mon Apr 25 09:16:43 PDT 2016

> On Apr 24, 2016, at 2:03 PM, Tan, Yong Zi <yt2498 at cumc.columbia.edu> wrote:
> Dear Elaine,
> I have a question on Chimera I hope you could help with. I would like to color a map differently depending on the viewing angle at which the user is looking at the map. I know the Euler angles at which I want to set specific colors. Is there a way to do so in Chimera? Many thanks for your help!
> Warmest Regards,
> Yong Zi Tan
> Graduate Student
> Carragher and Potter Lab, NYSBC/Columbia University 

Dear Yong Zi Tan,
Sorry, I don’t know of a way to do this in interactive viewing, where the user is rotating the map.  If it were in a script, you could simply change the color of the whole map (e.g. with “volume” command) as it is rotating (“turn” or “roll”).  These would be abrupt changes of color, not gradual, and the rotation commands just use degrees and do not have any knowledge of Euler angles.

Maybe there is some fancier way to do it with programming, but that is beyond my skill set.  I recommend sending Chimera questions to the chimera-users list (already CC’d here), since multiple heads are usually better than one!
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

More information about the Chimera-users mailing list