theta = -4.5 * np.pi *r
freq = r*10e9
data = np.multiply(r,np.exp(1j*theta))
ax.plot(angle(data),abs(data))
Any idea why Polar plot can't handle theta going from negative to
positive radians?
Jan
Tony S Yu wrote:
>
> On Sep 17, 2008, at 1:59 AM, jan gillis wrote:
>
>> Hello,
&g
ax = fig.add_axes([0.1, 0.1, 0.8, 0.8], polar=True, axisbg='#d5de9c')
z = np.zeros((1,2000),complex)
z.real = 0.2
z.imag = np.arange(-50,50,0.05)
gamma_r = np.transpose((z-1)/(z+1))
ax.plot(np.angle(gamma_r), np.abs(gamma_r), '.-', zorder=0)
ax.set_rmax(2.0)
grid(True)
Hello,
I have a problem with polar plot, if i run the following code in
matplotlib 0.98.3, polar plot is drawing a extra circle to go from
angle -3.14159265 to angle 3.03753126. Is there a solution for this problem?
import numpy as np
from matplotlib.pyplot import figure, sh