median-of-patches
[list of commands]
Parameters:
[list of commands] |
Number |
list of commands that evaluate to a number |
Description:
Returns the median of the [list of commands] when [list of commands] is evaluated by all patches.
Examples:
median-of-patches [color]
returns a number corresponding to the median of the colors of all patches.
Notes:
If [list of commands] contains no numbers, an error occurs. If some of the [list of commands], when evaluated, are not numbers, those values are ignored.
Related Commands:
average-of-patches
max-of-patches
median-of-patches-with
min-of-patches
mode-of-patches
sdev-of-patches
sum-of-patches
variance-of-patches