VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Sat Nov 13 2021 - 18:42:24 CST
- Next message: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Previous message: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Maybe in reply to: Giacomo Fiorin: "Re: Color Transition in VMD"
- Next in thread: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I see no attachments in any of the e-mails in this thread.
Also I would need a description of what volumetric data file you would want
to use to represent the isosurface from and what other (volumetric)
property/file you want to use for the coloring and more importantly, what
the value (ranges) the different colors correspond to.
On Sat, Nov 13, 2021 at 6:07 PM maxim todoru <mtodoru_at_gmail.com> wrote:
> Dear Axel,
> Evidently, you did not understand the example that i posted, and more
> probably you never face an example like that before, but i will explain the
> situation again : i want to color one isosurface contain four domains with
> four different colors, every color in the isosurface mean something.
> if you have some time, i suggest you to give it a try, i uploaded the
> necessary files before. Prove me if i'm wrong, because i'm pretty sure you
> won't succeed get the desired results (attached image diaz.png).
>
> Best regards,
> Maxim
>
> Le samedi 13 novembre 2021, Axel Kohlmeyer <akohlmey_at_gmail.com> a écrit :
>
>> 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!uTTRumpI9Guiwy96fYz-0HF61X21qAdlrRuK1erxmYs_2qfqpo8iCXvG20BntjwcFg$
>> College of Science & Technology, Temple University, Philadelphia PA, USA
>> International Centre for Theoretical Physics, Trieste. Italy.
>>
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!uTTRumpI9Guiwy96fYz-0HF61X21qAdlrRuK1erxmYs_2qfqpo8iCXvG20BntjwcFg$ 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: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Maybe in reply to: Giacomo Fiorin: "Re: Color Transition in VMD"
- Next in thread: Axel Kohlmeyer: "Re: Color Transition in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]