Re: [Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-21 Thread Stephan Markus
I am using a workaround now. But that is a hackery solution. Before plotting my data I convert it to dBs and limit it to the lowest value I want to display. Then I plot it using a regular polar plot with a custom formatting function that sets the tick labels with respect to the data offset. Since

Re: [Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-17 Thread Benjamin Root
On Thu, Feb 17, 2011 at 4:12 AM, Stephan Markus wrote: > > Small update: > > I tried the very same code with MPL 1.0.1 and Python 2.5.0 on Linux 64 and > Python 2.5.4 on Win32 and it runs w/o throwing any exceptions there! > > But: the behaviour is still not that what I expected. Still these issu

Re: [Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-17 Thread Stephan Markus
Small update: I tried the very same code with MPL 1.0.1 and Python 2.5.0 on Linux 64 and Python 2.5.4 on Win32 and it runs w/o throwing any exceptions there! But: the behaviour is still not that what I expected. Still these issues are remaining: - the smallest magnitude (center magnitude in othe

Re: [Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-17 Thread Stephan Markus
Ben, I should have mentioned that I already tried that. When I set the rscale to 'log' the plot crashes when zooming or mpl cannot even create it. Maybe some example code will help: from numpy import arange, sin, pi, cos, ones from matplotlib.backends.backend_tkagg import Figure

Re: [Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-16 Thread Benjamin Root
On Wed, Feb 16, 2011 at 9:16 AM, Stephan Markus wrote: > > Hi, > > I am trying to display some complex values in a polar plot. Displaying > linear magnitude vs. angle - of course - works without any issues. But I'd > rather display the logarithmic magnitute vs. angle. Since the data for the > rad

[Matplotlib-users] Polar plot - problem with negative values for radius

2011-02-16 Thread Stephan Markus
Hi, I am trying to display some complex values in a polar plot. Displaying linear magnitude vs. angle - of course - works without any issues. But I'd rather display the logarithmic magnitute vs. angle. Since the data for the radius gets negative then, it'll be wrapped around / rotated by 180deg b