Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matplotlib: How to set range of theta for a polar plot?

I'm making a polar contour plot with matplotlib. The data is only in the range of theta from 0 to 90 degree, but it always shows the whole range of 0 to 360 degree. So is there a way to set the range of theta to 0 to 90 degree?

Any suggestion is appreciated.

like image 593
T. Wu Avatar asked Aug 02 '12 05:08

T. Wu


1 Answers

I'm afraid this is an open issue: https://github.com/matplotlib/matplotlib/issues/328 . Also other people have asked for this: http://comments.gmane.org/gmane.comp.python.matplotlib.general/14711.

It would be definitely a nice feature and I wonder why it has not yet been implemented.

like image 194
Jakob S. Avatar answered Oct 19 '22 02:10

Jakob S.