add totalFigure setting, generate figure k and t

by probability