## matplotlib-users

 [Matplotlib-users] polar interpolation From: Lionel Roubeyrie - 2008-09-09 14:59:25 ```Hi all, the new polar projection gives me a strange behavour by interpolating each simple line between two consecutives points. Where I just want points at specified coordinates and lines connecting them, between each pairs appears a interpolated line in polar projection with multiple points. Looking in the documentation doesn't give an alternative. Is there a way to have just "simples" lines? thanks ################## from pylab import * theta = arange(0, 360, 36) r = [5,1] * (len(theta)/2) polar(radians(theta), r, 'o-') show() ################## -- Lionel Roubeyrie - lroubeyrie@... Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ```
 Re: [Matplotlib-users] polar interpolation From: Lionel Roubeyrie - 2008-09-09 15:28:43 ```Ok, I'm stupid, changing the resolution value and all goes right. Sorry Lionel Roubeyrie a écrit : > Hi all, > the new polar projection gives me a strange behavour by interpolating > each simple line between two consecutives points. Where I just want > points at specified coordinates and lines connecting them, between each > pairs appears a interpolated line in polar projection with multiple points. > Looking in the documentation doesn't give an alternative. Is there a way > to have just "simples" lines? > thanks > > ################## > from pylab import * > theta = arange(0, 360, 36) > r = [5,1] * (len(theta)/2) > polar(radians(theta), r, 'o-') > show() > ################## > -- Lionel Roubeyrie - lroubeyrie@... Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ```