Hi Vincent, Coloring the cartoon with a color ramp is not possible unfortunately. Incentive PyMOL since version 1.8 can color ribbon by ramp, if that helps.
However, electrostatic potential locally probed along the backbone will not be very meaningful. Typically you would look at electrostatics beyond the solvent excluded surface, which you'll get in PyMOL either with surface_solvent=1 or with surface_ramp_above_mode=1, see https://pymolwiki.org/index.php/surface_ramp_above_mode To visualize the distribution of charged or polar residues with cartoon, your "flimsy" color scheme by residue type seems quite valid. Cheers, Thomas On 04 Jan 2017, at 11:05, vincent Chaptal <vincent.chap...@ibcp.fr> wrote: > Hi everyone, > > is there a way to color by electrostatic potential but display the structure > as cartoon? > > a workaround could be : > color white, molecule > color red, resn asp+glu+thr+ser etc.. > color blue, resn arg+lys > > ... but this seems rather flimsy. > > Thank you and best wishes for the new year. > Vincent > > > -- > Vincent Chaptal, PhD > Institut de Biologie et Chimie des Protéines > Drug Resistance and Membrane Proteins Laboratory > 7 passage du Vercors > 69007 LYON > FRANCE > +33 4 37 65 29 01 > http://www.ibcp.fr -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ 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