From: Nils W. <nw...@ia...> - 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 |