Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-23 Thread aliko
The problem here is probably with the blitting. You make a copy of the background before plotting the data. Before you plot the data, the axes have no clue what's its limits are supposed to be. In your example, it won't know until you do the plotting. Then when you restore the

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Tobias Winchen
Hi, On Thursday 22 July 2010 Michael Droettboom wrote: Which backend are you using? I tried this with GTKAgg and Qt4Agg, its was working with 0.99.0 and 0.99.1 on Debian/Squeeze and 0.99.0 on Scientific Linux 5. I first noticed this with 0.99.3 on Debian/Squeeze, but it is the same with with

Re: [Matplotlib-users] Axises autoscaling in animated plot

2010-07-23 Thread aliko
Although the curves now are fitting in the box, the axes data does not updated and freezes at some initial values. I'm also reworked example in order to use two Y axises one to the left and one at the right. And the second plot attached to the right axis is not autoscaled as the first does.

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-23 Thread j vickroy
Eric Firing wrote: You can post-process the image with something like ImageMagick. Another alternative is to use PIL -- you can grab the matplotlib buffer, make a PIL image out of it, and use PIL to convert to an 8-bit palleted image. For that matter, you could probably bypass MPL, and use

Re: [Matplotlib-users] Double y-axis with the same 0

2010-07-23 Thread Daniele Padula
I solved the problem and I'm going to explain the solution I used, it can be useful for someone. y data for each series are contained into 2 different arrays, say y1 and y2. The code is the sequent: if max(y1) max(y2): y_max = max(y1) else: y_max = max(y2) if min(y1) min(y2):

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Michael Droettboom
I've traced this back to revision 7867: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867r2=7866pathrev=7867 http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867r2=7866pathrev=7867

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-23 Thread Christopher Barker
j vickroy wrote: Thanks much for this information and also for taking the additional time to try the optipng tool. It is very helpful. Since the above mentioned PNG generation is one step in a near real-time products generation system, I was hoping to avoid the addition of another

[Matplotlib-users] error while installing matplot ImportError: No module named _tkagg

2010-07-23 Thread Satish Raghunath
Hi, I am using a simulator called aerialvision which uses matplot . I installed matplot on my Linux machine and now I use the simulator it gives me an error stating that File /usr/local/lib/python2.7/site-packages/matplotlib/backends/tkagg.py, line 1, in module import _tkagg ImportError: