Magnus Benjes wrote: > Hello, > in version 0.98.5.2 the polar plot still has a problem with negativ angles. > The polarplot is drawing a circle when the angle changes from negativ to > positiv (e.g. from -0.01 to +0.01).
Your example works fine with svn. I don't recall whether the problem was fixed before the last release. I think it was. > > But in "What new in 0.98.4" > (http://matplotlib.sourceforge.net/users/whats_new.html) I can read: > "Fix polar interpolation to handle negative values of theta - MGD" I think that commit actually introduced the problem. > > Is there a workaround for this problem? A release appears to be imminent--it was tagged hours ago. Can you update when it appears? Eric > > Regards > Magnus > > ******************** > import numpy as np > import matplotlib > import matplotlib.pyplot as plt > > x = np.linspace(-np.pi/3, np.pi/3, 100) > y = np.sin((10*x)**2)+2 > > plt.subplot(111, polar=True) > plt.plot(x,y) > plt.title(matplotlib.__version__) > plt.show() > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
