VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Thu Apr 10 2014 - 09:57:41 CDT
- Next message: Fotis Baltoumas: "Re: namd-l: MMPBSA Energy Calculations using VMD (Post-Processing)"
- Previous message: Beat Meier: "custom color on surface plot"
- In reply to: Beat Meier: "custom color on surface plot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Thu, Apr 10, 2014 at 10:09 AM, Beat Meier <beme_at_ethz.ch> wrote:
> I am trying to color a surface model of a protein such that a custom defined residue has a different color than the rest that I color grey.
> If I plot two Surf representations of the protein for which one I only select the colored residue, I do not get a nice picture. Any better procedures?
you can color by some per atom parameter (Occupancy, User, Mass,
Charge, ...) and then in the VMD console create a selection for the
residue in question and for all other residues and then use the script
interface to assign different values to those. e.g.:
set sel1 [atomselect top {resid 124}]
set sel2 [atomselect top {not resid 124}]
$sel1 set occupancy 0.0
$sel2 set occupancy 1.0
redraw and you are done.
ciao,
axel.
p.s.: i tend to prefer QuickSurf over Surf
> Thanks
> Beat
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 College of Science & Technology, Temple University, Philadelphia PA, USA International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Fotis Baltoumas: "Re: namd-l: MMPBSA Energy Calculations using VMD (Post-Processing)"
- Previous message: Beat Meier: "custom color on surface plot"
- In reply to: Beat Meier: "custom color on surface plot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]