Observer Command

scale-pc `color variable limit1 limit2`

Patches set their color to a shade of `color` based on their value of `variable`. `limit1` and `limit2` determine the amount of gradation. Note: This is a patch command. It must be called from within an `ask-patches` or `ask-patch-at` statement.

Note: If the patch exceeds the limits, it turns black on the dark end of the specturm and turns white on the bright end of the spectrum.

Examples:
`scale-color green density 0 20`
Patches turn one of twenty shades of green. Patches with lower density turn darker green.
`scale-color blue energy 20 0`
Patches turn one of twenty shades of green. Patches with lower density turn lighter green.

Related commands:
scale-color stamp