NAME: color_scale_bar
SYNOPSIS:
color_scale_bar draws a color bar on the screen to show all of the
current colors (colorid 17~1040). It also shows labels beside the color
bar to show the range of the mapped values.
VERSION: 1.0
Uses VMD version: VMD Version 1.7 or greater
Ease of use: 2. need to understand some Tcl and a bit about how VMD works
PROCEDURES:
color_scale bar
DESCRIPTION:
To draw a color scale bar with length=1.5, width=0.25, the range of
mapped values is 0~128, and you want 8 labels.
color_scale_bar 1.5 0.25 0 128 8
The size of the bar also depends on the zoom scale.
AUTHOR:
Wuwei Liang (gtg088c@prism.gatech.edu)
DOWNLOAD FILE:
color_scale_bar.tcl