[ top | up ]

Pretty Breakpoints

Syntax

pretty(x, n=5)

Description

pretty returns a sequence of about n equally spaced nice values which cover the range of the values in x. The values are chosen so that they are 1, 2 or 5 times a power of 10.