revise plot output