Hi,

De: "Kevin Dunn" <[EMAIL PROTECTED]>
>
>I would like to use a different color for hydrogen atoms attached to N or O 
>than those attached to C. What is the easiest way to do this using a pdb file?
>
>I tried just "lying" in the pdb, calling some hydrogens "Li", but this seems 
>ugly and the van der Waals radii are wrong.
>
>If I call some atomd HA and some HB is there a way to give them different 
>colors?

Simply loads your file, select the atoms you want to change color and change 
their color. Use commands like that:
select substructure("[H][N]") and substructure("[H]");
color atoms blue;

The substructure command is only available in the pre-release version of Jmol 
(you can use it), but there's probably an other way to select only the atoms 
you are interested in.

Nico



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to