Re: [PyMOL] coloring labels

2010-08-31 Thread Robert Campbell
Hi Craig,

On Tue, 31 Aug 2010 09:29:44 -0500 Craig Smith boiler...@mac.com wrote:

 Hello,
 
 Thanks for the prompt responses I received so far.  That really helped.
 But, set_color black changes the color globally.  Can I do this locally?
 For example, I'm highlighting two polypeptide chains one blue and one
 yellow.  The yellow labels are hard to see and I want to change them to
 black but the keep the blue chain labels blue.

Yes you can to this locally (at least by object). Simply add the object name
to the command. Say you have two objects called object1 and object2 and
you want to label all of the C-alpha carbons with the residue name and
number, you could do:

label name ca, %s %s % (resn,resi)

set label_color, black, object1
set label_color, blue, object2

Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor 
Botterell Hall Rm 644
Department of Biochemistry, Queen's University, 
Kingston, ON K7L 3N6  Canada
Tel: 613-533-6821Fax: 613-533-2497
robert.campb...@queensu.cahttp://pldserver1.biochem.queensu.ca/~rlc

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] coloring labels

2010-08-30 Thread Craig Smith
Hello,

I'm to make the color of my label different from the color of the residue.  For 
example, I have my carbons colored yellow but its label is hard to see and I 
want to change the color to black.  How do I do this?

Craig


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] Coloring Labels

2005-07-18 Thread Laura Grell

Hi all!

Is there a way to change the color of your labels withing PyMOL?  I know you 
can make labels in Illustrator and add them later, but I was wondering if 
there was a way to change the color within PyMOL.


Thanks!

Laura Grell

_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement