This is a read-only mirror of pymolwiki.org

Ramp update

From PyMOL Wiki
Revision as of 18:29, 25 May 2022 by Cchem (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ramp_update updates range and/or color of a color ramp.

New in PyMOL 1.8

Usage

ramp_update name [, range [, color ]]

Example

ramp_new    e_pot_color, e_pot_map, [-10,0,10], [red,white,blue]
ramp_update e_pot_color, range=[-15,0,15]
ramp_update e_pot_color, color=[green,white,orange]

See Also