Calculate positions from widths.
positions(width)
width
A numeric vector of bar widths.
A numeric vector of bar positions.