Hi Robert, you again need to set the "surface_color" for the selected residues, instead of using the color command. That these two are not synced makes sense, you can for example have a half-transparent surface in one color and a stick representation below in another color.
PyMOL> set surface_color, red, (sele) By the way: you can omit the "selection" argument in your ramp_new call, this would be for automatic ranging. Cheers, Thomas Muench, Robert wrote, On 01/09/13 21:00: > Dear pymol-user, > > we are currently facing problems with the coloring of molecules. We > color our molecule using a color ramp as follows: > > pseudoatom pOrig, pos=(0,0,0), label=origin > fetch XXX, async=0, type=pdb1 > as surface > ramp_new proximityRamp, pOrig, selection=(XX*), range=[110,160], color=ocean > set surface_color, proximityRamp, (XX*) > > After that we would like to color defined residues for example in red > using the selection tool. Although the color is changed in the sequence > pane, the color is not applied to the molecule. > > Any suggestions? > > Best > > Robert -- Thomas Holder PyMOL Developer Schrödinger Contractor ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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