I have two vectors x and y and a matrix such that z[i,j] = f(x[i], y[j])
I would like to plot z keeping on the axis the coordinates in x and y. In other words the point z[i, j] should stay in position x[i], y[j] in the plot.
I need to keep this relationship because I need to overlap different plots.
plt.imshow(z) does not work as z[i,j] is in position (i, j) and not (x[i], x[j])
How can I solve?
EDIT: I need a 2 dimensional representation
