User Tools

Site Tools


api:cmd:ramp_new

cmd.ramp_new

“cmd.ramp_new” creates a color ramp based on a map potential value or based on proximity to a molecular object.

Parameters

def ramp_new(string name, string map_name, list range, list color,
             int state, string selection, float beyond, float
             within, float sigma, int zero, int quiet)

Implementation

def ramp_new(name, map_name, range=[-1.0,0.0,1.0],
             color=['red',[1.0,1.0,1.0],'blue'], state=0,
             selection='', beyond=2.0, within=6.0, sigma=2.0,
             zero=1, quiet=1):

See Also

api/cmd/ramp_new.txt · Last modified: 2013/08/19 21:01 (external edit)