Re: [Matplotlib-users] Some remarks/questions about perceived slowness of matplotlib

2006-12-20 Thread David Cournapeau
John Hunter wrote: David In make_image, most of the time is taken into to_rgba: David almost half of it is taken in by the take call in the David Colormap.__call__. Almost 200 ms to get colors from the David indexes seems quite a lot (this means 280 cycles / pixel on

[Matplotlib-users] Printing with gtk-2.10

2006-12-20 Thread Achim Gaedke
Hi there! I implemented a Print method with gtk-2.10 PrintOperations... It was not easy, because of some transformations issues inside matplotlib... My wish is: The plot window navigation bar should provide a print button in future. I think many people are missing this button. Here, I want to

[Matplotlib-users] amsmath matplotlibrc

2006-12-20 Thread Nils Wagner
Hi, How can I use amsmath in matplotlibrc ? I would like to add a legend((r'$\det{\boldsymbol P}$')). Nils - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Re: [Matplotlib-users] [problems with closing figure, memory problem ?]

2006-12-20 Thread Giorgio Luciano
I've succeded in solving the problem that seems due to usage of show. Both of the function i called had a show function enabled that seems to confuse a bit the behaviour of matplotlib. so I commented in both function show and only put it in the module that called both function. Not to

[Matplotlib-users] multiline with mathtext

2006-12-20 Thread Toon Verstraelen
Hi, Is it possible to make multiline labels with mathtext? When I try this: pylab.title(r$(a+b)^2\\(a-b)^2$) only the first line is rendered. Is there a way to do this properly? thanks, Toon begin:vcard fn:Toon Verstraelen n:Verstraelen;Toon org:Ghent University;Center for Molecular Modeling

Re: [Matplotlib-users] multiline with mathtext

2006-12-20 Thread Darren Dale
On Wednesday 20 December 2006 6:38 am, Toon Verstraelen wrote: Hi, Is it possible to make multiline labels with mathtext? When I try this: pylab.title(r$(a+b)^2\\(a-b)^2$) only the first line is rendered. Is there a way to do this properly? It looks like this isn't possible right now with

Re: [Matplotlib-users] amsmath matplotlibrc

2006-12-20 Thread Darren Dale
On Wednesday 20 December 2006 4:34 am, Nils Wagner wrote: How can I use amsmath in matplotlibrc ? amsmath is not currently supported. Darren - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

[Matplotlib-users] How to clean memory after plots ?

2006-12-20 Thread Giorgio Luciano
I've done some prograss about visualising my plots from a function, but after searching in the FAQ and also in the amiling list archive i dint' find any solution to this. I have a function that computes some data for a plot. I call the function and then use show. Everything work fine. Then I

[Matplotlib-users] Qt4 Performance Issues

2006-12-20 Thread David Levitan
Hi, I'm trying to use the qt4agg backend and running into performance issues (both using matplotlib interactively and in a program). The performance of qtagg and gtkagg backends are fine and drawing a zoom rectangle, for example, is smooth. With qt4, however, dragging and zooming are very

[Matplotlib-users] setdashes bug

2006-12-20 Thread Alan G Isaac
If ln is a Line2D then ln.set_dashes([]) does not give the expected solid line. version: 0.87.7 Cheers, Alan Isaac - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [Matplotlib-users] setdashes bug

2006-12-20 Thread John Hunter
Alan == Alan G Isaac [EMAIL PROTECTED] writes: Alan If ln is a Line2D then ln.set_dashes([]) does not give the Alan expected solid line. version: 0.87.7 Is this expected? I wouldn't expect it. set_dashes is supposed to take an even length sequence of off-on ink. Perhaps it should

Re: [Matplotlib-users] setdashes bug

2006-12-20 Thread Alan G Isaac
On Wed, 20 Dec 2006, John Hunter apparently wrote: Is this expected? I wouldn't expect it. It is pretty standard. See e.g. the PostScript Language Reference Manual. And, how else to set a solid line with set_dashes? Cheers, Alan Isaac

Re: [Matplotlib-users] setdashes bug

2006-12-20 Thread John Hunter
Alan == Alan G Isaac [EMAIL PROTECTED] writes: Alan It is pretty standard. See e.g. the PostScript Language Alan Reference Manual. And, how else to set a solid line with Alan set_dashes? I didn't know that about postscript. I can easily implement it if it is the right thing to do

Re: [Matplotlib-users] [matplotlib-devel] Visio backend

2006-12-20 Thread Christopher Barker
My key question is this: Can't Visio import ANY standard vector graphics format: SVG, EPS, PDF, something? Or, for that matter, some Visio specific format that is a file format, rather than using COM to drive Visio itself. I'm sure you considered this, but I'd be interested to know what went

[Matplotlib-users] combining figures

2006-12-20 Thread Mike Cantor
Hi, I am using matplotlib within a wxPython app. I have a class called plotDialog that inherits from wx.Dialog and contains a matplotlib FigureCanvas. Several types of plot classes derive from plotDialog and bring up pretty windows displaying data of various sources. What I want to do is

[Matplotlib-users] Contour plots

2006-12-20 Thread Ganesh V
Hi! I have a problem with contour plots. See the two plots at http://www.ae.iitm.ac.in/~ae03b007/downloads/matlab.jpg http://www.ae.iitm.ac.in/~ae03b007/downloads/matplotlib.jpg The names show how they are generated. It's the same data obviously. Why the difference. I am dealing with a

Re: [Matplotlib-users] Contour plots

2006-12-20 Thread Eric Firing
Ganesh V wrote: Hi! I have a problem with contour plots. See the two plots at http://www.ae.iitm.ac.in/~ae03b007/downloads/matlab.jpg http://www.ae.iitm.ac.in/~ae03b007/downloads/matplotlib.jpg The names show how they are generated. It's the same data obviously. Why the difference.