VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Sep 19 2019 - 09:37:44 CDT
- Next message: Norman Geist: "AW: Re: namd-l: Is there someway to render protein picture without background color?"
- Previous message: Thomas Sommerfeld: "colormaps available for color by volume"
- In reply to: Thomas Sommerfeld: "colormaps available for color by volume"
- Next in thread: John Stone: "Re: colormaps available for color by volume"
- Maybe reply: John Stone: "Re: colormaps available for color by volume"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
You can overwrite the default VMD color scales with anything you want
using a trivial script. I attach an example script that reproduces
the standard matlab color scales/gradients. Let me know if you have
questions on using it or adapting it for the color scales you want to use.
Best,
John Stone
vmd_at_ks.uiuc.edu
On Thu, Sep 19, 2019 at 09:26:14AM -0500, Thomas Sommerfeld wrote:
> OK, I admit, not so much a question, more a wish for a feature in the next
> version.
> If I color a volume, say a density, using the color method "volume", I
> have the choice between 12 colormaps. The graphics look great, but all 12
> colormaps are "dividing" (intended for some -a ... a range).
> What I need currently, and I should think would be useful in general, is
> (1) uniform colormaps, such as viridis or plasma (for ranges 0 ... a),
> because my property may be an absolute value.
> (2) cyclic colormaps, such as hsv (for ranges 0 ... 2*pi), to map phases,
> molecules in magnetic fields, or just to draw psi_211 for PCHEM class.
> (3) colormaps like jet or rainbow, because I know many people who prefer
> them over (1) or (2) for some reason. Well I use them myself for pH, but
> not for volumes.
> Thanks for considering,
> Thomas
> Â Â
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/
- application/x-tcl attachment: matlab_colorscale.tcl
- Next message: Norman Geist: "AW: Re: namd-l: Is there someway to render protein picture without background color?"
- Previous message: Thomas Sommerfeld: "colormaps available for color by volume"
- In reply to: Thomas Sommerfeld: "colormaps available for color by volume"
- Next in thread: John Stone: "Re: colormaps available for color by volume"
- Maybe reply: John Stone: "Re: colormaps available for color by volume"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]