My 2D function plot looks like
I want to exchange the data of the two axes and want the resulting function to look like the following plot
This is a matplotlib question, please ask it on the corresponding forum.