From Matrix to polar plot

33 Views Asked by At

I have an np.array A in which a polar coordinate distribution Z=f(theta,r) is described by its elements Z=f(theta,r)=A[i,j]. I want to plot it in polar coordinates, like plt.imshow() does for Cartesian coordinates, if possible without converting it into Cartesian coordinates.

I've found that, which is the same subject, but on Matlab (I want to do it on Python). I guess we should use polar(), but the example presented doesn't correspond to what I want to do.

Thanks!

0

There are 0 best solutions below