[Chimera-users] Changing default element colors
Elaine Meng
meng at cgl.ucsf.edu
Tue Mar 17 09:32:05 PDT 2009
Hi Thomas,
It is easy to do so with a series of colordef commands, where the name
of the color being defined is an element symbol. For example:
colordef C green
colordef Zn hot pink
If you have a very recent daily build, you can also specify colors
with R,G,B components or as a Tk color code:
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/colordef.html>
List of color names:
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/colortables.html>
Subsequent coloring by element will use those colors. The definitions
are saved in session files, but if you want them to apply in all later
uses of Chimera (not necessarily starting from a saved session), make
a Chimera command file, simply a text file including all those
commands. Then, in the preferences (Favorites... Preferences, Command
Line category, only shown when you are showing the Command Line),
specify the command file as a "file to read at startup", which
actually means as soon as the Command Line is shown. To make the
Command Line always shown when you start Chimera, change to the Tools
category of preferences and check the "Auto Start" column for the
Command Line tool.
I hope this helps,
Elaine
On Mar 17, 2009, at 5:57 AM, Dipl.-Ing. Thomas Mitterfellner wrote:
> Hello!
> Can the default element colors be changed easily and if so, how?
> Thank you,
> Tom
More information about the Chimera-users
mailing list