I want to make a polar plot with grid not of the full circle but a
section (e.g. r=[5:6], phi=[-20:30]). The result should look like this:
I have tried a lot and had also looked to the examples but my results
are not satisfying. This example
http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html seems to be highly relevant for my needs but i do not understand it at all.
I tried two different ways:
Using the option polar=True works fine but I was not able to shrink the
plot to the section.
Otherwise transforming the data to cartesian coordinates (e.g.
pcolor(r*np.sin(phi),r*np.cos(phi),data) ) the data are plotted into a
box. But in this case I do not know how to draw a grid.
Could anyone give me some advice how to do this?