11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.2.4 Color scaleSeveral of the coloring methods, including ‘Beta’, ‘Charge’, and ‘Occupancy’, describe a range offloating point values rather than a set of names. These are colored via the color scale, whichisa list of 1024 smoothly changing colors. There are many color gradations available. All of themconsist of transformations of three colors. For instance, “RGB” colors the smallest value red, valuesnear the middle of the scale are green, and the largest values are blue. Colors in-between are linearmixes of the two colors. The list of available gradations is given below.MethodRGBBGRRWBBWRRWGGWRGWBBWGBlkWWBlkDescriptionsmall=red, middle=green, large=bluesmall=blue, middle=green, large=redsmall=red, middle=white, large=bluesmall=blue, middle=white, large=redsmall=red, middle=white, large=greensmall=green, middle=white, large=redsmall=green, middle=white, large=bluesmall=blue, middle=white, large=greensmall=black, large=whitesmall=white, large=blackTable 5.4: Available Color Scale Gradations.The minimum of the range of values is linearly scaled and shifted to start at 0 and end at 1.Assume the color scale is RGB. For a given value of x in the scale range [0..1], the RGB value isfound first from a linear scaling based on the midpoint. If x = 0, R is 1 (for maximum red). Thiscontinues linearly until x = midpoint, at which point, R is 0 and stays 0. The green component is0 at both x = 0 and x = 1 and is 1 at the midpoint. Linear scaling occurs in between. The bluecomponent is 0 for x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!