## Re: [Matplotlib-users] Ovality of a perturbed circular path

 Re: [Matplotlib-users] Ovality of a perturbed circular path From: Matt Foster - 2008-12-01 20:01:17 ```On Wed, Nov 26, 2008 at 7:11 AM, Nils Wagner wrote: > Hi all, > > I would like to visualize the ovality of a perturbed > circular path by a polar plot. > How can I improve the view wrt to scaling and ticks ? Is: from pylab import ylim, ytics figure(2) polar(theta,(r+noise)/r) ylim(0, 2) yticks(arange(0, 2, 0.25)) show() The kind of thing you're after? Cheers, Matt -- Matt Foster | http://hackerific.net ```

 [Matplotlib-users] Ovality of a perturbed circular path From: Nils Wagner - 2008-11-26 07:11:17 ```Hi all, I would like to visualize the ovality of a perturbed circular path by a polar plot. How can I improve the view wrt to scaling and ticks ? from pylab import linspace, polar, xticks, yticks, show, savefig, subplot, figure from numpy.random import rand from numpy import ones, exp, pi, r_ theta = linspace(0.,2*pi,25) r = 20.*ones(24) r = r_[r,r[0]] noise = 2.*rand(24)-ones(24) noise = r_[noise,noise[0]] figure(1) polar(theta,(r+noise)) figure(2) polar(theta,(r+noise)/r) show() Any pointer would be appreciated. Nils ```
 Re: [Matplotlib-users] Ovality of a perturbed circular path From: Matt Foster - 2008-12-01 20:01:17 ```On Wed, Nov 26, 2008 at 7:11 AM, Nils Wagner wrote: > Hi all, > > I would like to visualize the ovality of a perturbed > circular path by a polar plot. > How can I improve the view wrt to scaling and ticks ? Is: from pylab import ylim, ytics figure(2) polar(theta,(r+noise)/r) ylim(0, 2) yticks(arange(0, 2, 0.25)) show() The kind of thing you're after? Cheers, Matt -- Matt Foster | http://hackerific.net ```
 Re: [Matplotlib-users] Ovality of a perturbed circular path From: Matt Foster - 2008-12-02 09:27:56 ```On Tue, Dec 2, 2008 at 7:44 AM, Nils Wagner wrote: >>> >>> Hi all, >>> >>> I would like to visualize the ovality of a perturbed >>> circular path by a polar plot. >>> How can I improve the view wrt to scaling and ticks ? >> >> ylim(0, 2) >> yticks(arange(0, 2, 0.25)) > Thank you for your reply. > > It is on the right path. > > Is it possible to restrict the view to an annulus > 0.75 < r < 1.25 ? > Sorry, I'm not sure about that. I've cc'd the list incase anyone else can help. Cheers, Matt -- Matt Foster | http://hackerific.net ```