VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Sat Nov 13 2021 - 16:32:52 CST
- Next message: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Previous message: maxim todoru: "Re: Color Transition in VMD"
- In reply to: maxim todoru: "Re: Color Transition in VMD"
- Next in thread: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
maxim,
it looks like you did not pay sufficient attention to the suggestions that
you have been given. While you cannot do the kind of custom color scale you
desire through the GUI, it can very well be done from the script interface
and that ability has been with VMD for a *very* long time.
You need to use the `colorinfo` and the `color` command for that. The
script to create custom matlab inspired color maps should be used as an
instructive example.
VMD maintains a list of "named" colors (`colorinfo num` will tell you how
many) and then you have "indexed" colors up to a maximum (see `colorinfo
max`).
you can change either type of color with the `color change <index> <red>
<green> <blue>` command. Where you provide the RGB values for a given index
in the color map, first to the named colors then to the colors used for the
color scale.
I strongly suggest you and your "Tcl experts" have a second look at that
script and the VMD user's guide.
Axel.
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!q4OFI6SVfWVbIY5a7kKgc3J6AXbLUJOnppConQ2lOwrpXRnx0ZgjltaB16XpIq_6cw$ College of Science & Technology, Temple University, Philadelphia PA, USA International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Previous message: maxim todoru: "Re: Color Transition in VMD"
- In reply to: maxim todoru: "Re: Color Transition in VMD"
- Next in thread: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]