next up previous contents index
Next: Paint_case Up: The Paint commands Previous: Paint_property

Paint_ramp

 

paint_ramp [property] [min_value max_value] [start_colour] [end_colour]

Colour ramp according to the individual value of the property. The default property is the residue internal number, stored as a datablock with a residue property [mol]_residue_irc.   If this property does not exist, it is created. The minimum and maximum values are those in the specified property vector. This option can be used make pretty CA drawings where the colour changes as one goes from N-terminal to the C-terminal:

paint_ramp ; ; red blue ca ; end

We could also ramp according to temperature factors, so that the smallest values are blue and the highest values are red:

paint_ramp atom_b ; violet red zone ; end

or we could colour the real space residue fit from salmon pink to cyan:

paint_ra res_rsfit ; salmon cyan   z  ; end