VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jul 31 2014 - 12:58:37 CDT
- Next message: Axel Kohlmeyer: "Re: color scale definitions with more than three colors?"
- Previous message: Brian Radak: "color scale definitions with more than three colors?"
- In reply to: Brian Radak: "color scale definitions with more than three colors?"
- Next in thread: Axel Kohlmeyer: "Re: color scale definitions with more than three colors?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Please have a look at the attached example scripts that implement many
of the popular color scales from Matlab. You can 'source' the script, and
then set the color scale by calling the procs therein, such as:
matlab_colorscale jet 0 64
matlab_colorscale hot
matlab_colorscale hsv 1 32
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Thu, Jul 31, 2014 at 01:38:49PM -0400, Brian Radak wrote:
> I am using the VolumeSlice and Volume drawing/coloring methods to
> highlight cross sections of gridded data in addition to coloring multiple
> (6) isosurfaces. I found the tabs for mucking with the color scale under
> the "Graphics/Colors" menu, but all of the available scales use three
> colors (for example BWR).
>
> Would it be possible to create a color scale that coincides more with the
> shading of the isosurfaces? I prefer the heat map-like blue-lt
> blue-green-yellow-orange-red (I just used nearest ColorID approximates
> here), but I could potentially be dissuaded.
>
> In any event I expect this requires some Tcl scripting, but I don't know
> what types of things to look at in my visualization state file (I can
> adequately modify Tcl but am rather abysmal at writing it).
>
> Help? Or am I looking for something very advanced and/or outside what VMD
> is principally designed to do?
>
> Thanks,
> Brian
> --
> ================================ Current Address =======================
> A Brian
> RadakA A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
> : A A A BioMaPS Institute for Quantitative Biology
> A PhD candidate - York Research GroupA A A A A A : A A A Rutgers, The
> State University of New Jersey
> A University of Minnesota - Twin Cities A A A A A A A : A A A Center
> for Integrative Proteomics Room 308
> A Graduate Program in Chemical PhysicsA A A A : A A A 174 Frelinghuysen
> Road,
> A Department of ChemistryA A A A A A A A A A A A A A A A A A A A A A A
> : A A A Piscataway, NJ 08854-8066
> A [1]radak004_at_umn.eduA A A A A A A A A A A A A A A A A A A A
> A A A A A A A A A A :A A A
> ====================================================================
>
> References
>
> Visible links
> 1. mailto:radak004_at_umn.edu
-- 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: Axel Kohlmeyer: "Re: color scale definitions with more than three colors?"
- Previous message: Brian Radak: "color scale definitions with more than three colors?"
- In reply to: Brian Radak: "color scale definitions with more than three colors?"
- Next in thread: Axel Kohlmeyer: "Re: color scale definitions with more than three colors?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]