Added automatic label formatting for z axis in stack plot