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
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
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
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
That solution might be fine for static plots, but I my case I prefer my
solution.
My plot is quite interactive so using your solution causes many problems
with my code.
--
View this message in context:
http://old.nabble.com/onpick-on-a-2-y-plot-%28-via-twinx%28%29-%29-seems-to-only-allow-pick
Right now I use a customized FigureCanvasTkAgg and overwrite the draw() and
resize() methods to reset the z-order of the axes before drawing / resizing
the figure and to restore the desired z-order afterwards. This works quite
well but it would be nice to have the picking work like in version <=0.
Hello!
I am also using two axes in a plot and want to be able to pick the lines of
both axes.
So far I used MPL 0.99.3 and a button on my interface to change the z-order
of the axes in order to be able to pick lines of the "active" axes and to
see the correct x/y data in the navigation toolbar. T
Calling the garbage collector (gc.collect()) also makes no difference.
Even deleting all references manually and dropping the toolbar code
doesn't do the trick.
Am 09.02.2010 16:19, schrieb Stephan Markus:
> I already had my destroy() method look like this:
>
> de
I already had my destroy() method look like this:
def destroy(self):
self.f.clf()
Tix.Frame.destroy(self)
self.toolbar.destroy()
self.canvas._tkcanvas.destroy()
But it makes no difference.
Stephan
Am 08.02.2010 17:15, schrieb Michael Droettboom:
> Have you t
Hello!
I'm writing an application that will show different plots on it's GUI. In
order to switch between the different plot types I'd like to destroy the
first plot and to create a new afterwards. I stumbled into a memory leak
since I don't know how to close matplotlib figures the clean way.
I w
10 matches
Mail list logo