unit.percent Function (GPL)
Syntax
unit.percent()
Description
Transforms the values on an axis into percents. The percent value is in relation to the largest value of the variable displayed on the axis. This transformation makes most sense when a cumulative value is displayed on the main axis.
Examples
GUIDE: axis(dim(2), label("Percent"), unit.percent())