From: Axel Kohlmeyer (akohlmey_at_vitae.cmm.upenn.edu)
Date: Mon Feb 27 2006 - 08:20:34 CST

On Mon, 27 Feb 2006, Vlad Cojocaru wrote:

vlad,

this is a per representation property,
so please check out:

mol scaleminmax <molid> <repid> [<min> <max>|auto] -- Get/set colorscale minmax

regards,
    axel.

VC> Dear vmd users,
VC>
VC> Is there a way to define the color scle data range by tcl commands? For
VC> example I have an occupancy column that has values between 3 and 1000.
VC> If I load the pdb and color by occupancy, the color scale data range is
VC> automatically set from 0 to 1000. However I would like to see it from 0
VC> to 40 lets say. For that I need to go to
VC> Graphics-Representations-Trajectory menu and modify it there. It would
VC> be very nice if I could do that directly in the loading script ... Does
VC> anybody have an idea how to do that? I looked at the color command but I
VC> couldnt find an option ("scale min" and "scale max" seem to not give me
VC> what I want ...)..

VC>
VC> Thanks
VC> vlad
VC>
VC>
VC>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.