Extract information about each of the indices and use it to format the tick values.