improve the graph of periodic test