flip_plot function

Flip x and y axis