VMD-L Mailing List
From: Bjoern Olausson (namdlist_at_googlemail.com)
Date: Thu Apr 08 2010 - 02:18:05 CDT
- Next message: Yinglong Miao: "center of unit cell"
- Previous message: J. Rui Rodrigues: "problem with IED: 'numpy.ndarray' object has no attribute 'typecode'"
- In reply to: Axel Kohlmeyer: "Re: Way to change ColorScale Method to single color gradient?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Wednesday 07 April 2010 15:43:19 you wrote:
> On Wed, 2010-04-07 at 15:05 +0200, Bjoern Olausson wrote:
> > > second you can redefine the colors of one of the given scales.
> > > color scale BlkW {0.1 0.0 0.0} {0.4 0.0 0.0} {0.8 0.0 0.0}
> > > should do something along the lines of what you want.
> >
> > No matter how I modify your command, all I get is (in the Tk-Console):
> > % color scale BlkW {0.1 0.0 0.0} {0.4 0.0 0.0} {0.8 0.0 0.0}
> > color scale [method|midpoint|min|max] <value>
> >
> > But nothing changes.
>
> my bad. that was off the top of my head and very early in the morning.
>
> please try:
> color scale colors BlkW {0.1 0.0 0.0} {0.4 0.0 0.0} {0.8 0.0 0.0}
>
> and your black and white scale will change to dark and full red.
> if you plan to print this out, you probably want your colors to
> be a bit more "dirty" colors, i.e. something like this.
>
> color scale colors BlkW {0.2 0.0 0.0} {0.6 0.1 0.1} {0.8 0.3 0.2}
>
Works like a charm! Thanks a lot, now I got it.
The values in the braces are RGB values and the first brace is for the lower
part, the second for the midrange and the last one for the upper range.
> > And I don't understand the above command comparing it to the help:
> > http://www.csb.yale.edu/userguides/graphics/vmd/vmd_help.html#color
>
> please don't use that help. it appears to be over 8 years old...
>
Oh, okay, thanks for pointing this out.
Thanks again.
Kind regards
Bjoern
-- Bjoern Olausson Martin-Luther-Universität Halle-Wittenberg Fachbereich Biochemie/Biotechnologie Kurt-Mothes-Str. 3 06120 Halle/Saale Phone: +49-345-55-24942
- application/pgp-signature attachment: This is a digitally signed message part.
- Next message: Yinglong Miao: "center of unit cell"
- Previous message: J. Rui Rodrigues: "problem with IED: 'numpy.ndarray' object has no attribute 'typecode'"
- In reply to: Axel Kohlmeyer: "Re: Way to change ColorScale Method to single color gradient?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]