Dear Yeping 

You can color the surface independent of the atom color with the command

set surface_color, (color), (selection)

similarly, you color the cartoon representation dependent of the atom color 
with the command

set cartoon_color, (color), (selection)

best regards

Annemarie
____________________________________________________________

Dr. Annemarie Honegger
Dept. of Biochemistry
Zürich University
Winterthurerstrasse 190
8057 Zürich
Switzerland

e-mail:   honeg...@bioc.uzh.ch
phone:   +41 44 635 55 62
fax:        +41 44 635 57 12     


> 
> ---------------------------------------------------------------------
> 
> 
>               I?m protected online with Avast Free Antivirus. Get it here ? 
> it?s free forever.  
> On Sat, Jul 6, 2019 at 2:29 PM sunyeping via PyMOL-users 
> <pymol-users@lists.sourceforge.net> wrote:
> Dear all,
> 
> I color a protein as blue, display it by surface and cartoon simultaneously, 
> and set the surface transperant so that the cartoon representation inside the 
> surface can be seen. I display one residue as stick. I want to color the 
> stick by element, but keep the surface representation as blue. However, I 
> don't know how to do this. I can color the residue (please see the  Gln in 
> the yellow circle at 
> https://drive.google.com/open?id=1bviFQGUKgqLdbE-cUNDtzDZSdabc0N4Z), but both 
> the stick and the surface representations are colored by element. Could 
> anyone tell me how to color stick representation of this Gln by element but 
> keep its surface representation as blue?
> 
> Thank you in advance
> Yeping




_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to