From: jonathan (jkhao_at_ifr88.cnrs-mrs.fr)
Date: Fri Mar 25 2011 - 09:03:34 CDT

Hi,

Thanks for the scripts, the hsv colorscale is exactly what I was looking
for.

Jonathan

Le jeudi 24 mars 2011 à 22:14 -0500, John Stone a écrit :
> Hi,
> You can write a script to generate any color scale color scheme
> you like. I've attached an example script that emulates some
> of the popular color gradient scales provided in Matlab and Octave.
> I'm traveling until Monday, but if you have questions, I would
> be happy to help you when I return.
>
> Cheers,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Tue, Mar 22, 2011 at 06:57:08PM +0100, Jonathan KHAO wrote:
> > Hi,
> >
> > I'm trying to color atoms with an asymetric and periodic color
> > gradient e.g. the color wheel. The gradients present in VMD can be
> > made periodic by using user defined values as coloration criteria. But
> > the problem is that they are always symetric.
> > In my case, I want to color molecules with a gradient so that Z, Z+X,
> > ... Z+nX coordinates have the same one. If I color Z to Z+X molecules
> > with a Bwr gradient, and switch to a rwB one for Z+X to Z+2X
> > molecules, I will obtain identical colors for molecules at the same
> > distance to Z+X ...
> >
> > So is there a way to script a "colorwheel" gradient ?
> > If not, how may I edit the VMD source to add/modify gradients ?
> >
> > Thanks a lot,
> >
> > Jonathan.
> >
> >
> > ----------------------------------------------------------------------
> > Message envoyé via le Webmail de l'IFR88 (http://www.ifr88.cnrs-mrs.fr).
> >
>