VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Sep 28 2004 - 12:31:28 CDT
- Next message: lug2002_at_med.cornell.edu: "Re: rmsd calculation and alignment"
- Previous message: John Stone: "Re: How does VMD predict alpha helices"
- In reply to: hinsen_at_llb.saclay.cea.fr: "Defining graphics colors"
- Next in thread: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Reply: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Maybe reply: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Konrad,
We removed the particular RGB-color commands used in the past in
favor of consistency with the rest of VMD, using the indexed color scales.
If you want to assign specific colors, this can still be done by modifying
the color scale via a script and assigning the appropriate color index.
So, for example, you could do this (you can also use the 'graphics' commands
for more detailed control than the 'draw' commands give):
color change rgb 54 1.0 1.0 0.0
draw color 54
draw sphere {0 0 0}
John Stone
vmd_at_ks.uiuc.edu
On Tue, Sep 28, 2004 at 07:15:05PM +0200, hinsen_at_llb.saclay.cea.fr wrote:
> I have some code that generates Tcl scripts for VMD for various
> visualization tasks, mainly using "graphics ..." commands. In
> particular, I use "graphics color ..." for defining colors of graphics
> objects by RGB values. This worked fine in the past, but it appears
> that RGB values are no longer supported (in 1.8.2): they don't work,
> and they are not mentioned in the documentation any more. Is this
> intentional or a bug? And is there any workaround?
>
> Konrad.
> --
> ---------------------------------------------------------------------
> Konrad Hinsen
> Laboratoire Léon Brillouin, CEA Saclay,
> 91191 Gif-sur-Yvette Cedex, France
> Tel.: +33-1 69 08 79 25
> Fax: +33-1 69 08 82 61
> E-Mail: hinsen_at_llb.saclay.cea.fr
> ---------------------------------------------------------------------
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: lug2002_at_med.cornell.edu: "Re: rmsd calculation and alignment"
- Previous message: John Stone: "Re: How does VMD predict alpha helices"
- In reply to: hinsen_at_llb.saclay.cea.fr: "Defining graphics colors"
- Next in thread: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Reply: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Maybe reply: hinsen_at_llb.saclay.cea.fr: "Re: Defining graphics colors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]