changed the plot format