|
From: Pierre H. <pie...@cr...> - 2012-12-18 10:35:42
|
Le 18/12/2012 11:13, Bob Dowling a écrit : > Any how, the answer seems to be "yes I'm using rgrids() correctly, but > no I'm not using matplotlib-friendly data points". I shall adjust my > values of (r,th). You don't need to change your (r,th) values. The two workarounds I see to get your "version2" script work are : 1) Either call rgrids *after* plotting : subplot(111, polar=True) polar(t, r) rgrids([2,4,6]) 2) or call ylim to change the "rmin" parameter which tunes the radius offset : subplot(111, polar=True) rgrids([2,4,6]) polar(t, r) ylim(ymin=0) # or ylim(0,8) which looks even better in your specific case Best, Pierre |