Question: change the axis in 2D plot

I have got a problem with 2D plot:

I plot a x vs y(x) but now i want to plot y(x) vs x.(x should be in vertical axis)

Please Wait...