VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Dec 09 2009 - 11:48:11 CST
- Next message: BIN ZHANG: "Re: Restraints on coarse grained model"
- Previous message: John Stone: "Re: desmond plugin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To follow up on this, I've implemented an initial version of
a more extensive script that implements all of the Matlab colorscale
types except "lines". To use it, just source the script, and then
call it with matlab_colorscale colorscaletype [reverseflag] [count],
examples:
matlab_colorscale jet 0 64
matlab_colorscale hot
matlab_colorscale hsv 1 32
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Tue, Dec 08, 2009 at 06:17:31PM -0600, Eduardo Cruz-Chu wrote:
> Indeed, the script gives you more control over the colors in the
> VolumeSlice representation.
>
> As an example, I am attaching a VMD figure of a plastic nanopore (VDW
> representation) and its electrostatic potential (VolumeSlice
> representation)
>
>
> On Tue, 8 Dec 2009, John Stone wrote:
>
> >Hi,
> > A number of people in our lab are rather fond of the
> >"jet" color scale in matlab, and so I threw together a
> >short VMD script to generate the same colormap.
> >I thought this would be helpful to other matlab fans,
> >and serve as an example to people wanting to make their
> >own custom color scales. See the attached script for details.
> >To use it, just "source" it in VMD, and then run the new
> >"colorscale_jet" command.
> >
> >Cheers,
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> >--
> >NIH Resource for Macromolecular Modeling and Bioinformatics
> >Beckman Institute for Advanced Science and Technology
> >University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> >Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> > WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
> >
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- application/x-tcl attachment: matlab_colorscale.tcl
- Next message: BIN ZHANG: "Re: Restraints on coarse grained model"
- Previous message: John Stone: "Re: desmond plugin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]