Re: [Matplotlib-users] text against colorbar

2006-12-19 Thread John Hunter
> "Lionel" == Lionel Roubeyrie <[EMAIL PROTECTED]> writes: Lionel> Arg, I hoped that you would not say that :-) Le Mardi 19 It's not too bad, actually: from pylab import figure, show, nx, cm from matplotlib.transforms import blend_xy_sep_transform fig = figure() ax = fig.add_subplot(111)

Re: [Matplotlib-users] text against colorbar

2006-12-19 Thread Lionel Roubeyrie
Arg, I hoped that you would not say that :-) Le Mardi 19 Décembre 2006 16:39, Jeff Whitaker a écrit : > Lionel Roubeyrie wrote: > > Hi all, > > I don't find any doc on this point, then I post my question here: is it > > possible to set texts with a colorbar, like a legend? > > You can have a look

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

2006-12-19 Thread Giorgio Luciano
Sorry for the previsou post. Tweaking a bit I found that probably the problem is not in the visualisation but in cleaning memory. I use a function to make four plot calling two subfunction. the plot are called plotrisp and plotlev in everyone of them any tome i use a figure I also close it. But

Re: [Matplotlib-users] text against colorbar

2006-12-19 Thread Jeff Whitaker
Lionel Roubeyrie wrote: > Hi all, > I don't find any doc on this point, then I post my question here: is it > possible to set texts with a colorbar, like a legend? > You can have a look of what I want here: > http://www.limair.asso.fr/previsions2/index.php (just click "OK") > thanks > > Lionel:

[Matplotlib-users] text against colorbar

2006-12-19 Thread Lionel Roubeyrie
Hi all, I don't find any doc on this point, then I post my question here: is it possible to set texts with a colorbar, like a legend? You can have a look of what I want here: http://www.limair.asso.fr/previsions2/index.php (just click "OK") thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR h

Re: [Matplotlib-users] [Crash with matplotlib and 14415 points help please :) ]

2006-12-19 Thread Giorgio Luciano
I've retried reloading the matrices after restaring everything twice and it seems to plot. Probably the problem is that the memory is "occupied" from previous plots. I noticed also that the possibility to command come back to the console only after the last plot is close manually ..any hints Is

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

2006-12-19 Thread John Hunter
> "David" == David Cournapeau <[EMAIL PROTECTED]> writes: 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

Re: [Matplotlib-users] memory leak in matplotlib wxApp?

2006-12-19 Thread John Hunter
> "Olivier" == Olivier ATTEIA <[EMAIL PROTECTED]> writes: Olivier> Hello, sorry to bother you but I did not find a reply Olivier> elsewhere, I am using matplotlib with python 2.4 and Olivier> windows XP and it is a really nice tool. It is inside a Olivier> wxapplication. I hav

[Matplotlib-users] [Crash with matplotlib and 14415 points help please :) ]

2006-12-19 Thread Giorgio Luciano
Hello to all, I'm finishing to convert a module for linear regression that I used in Matlab. It takes an experimental matrix, and a response matrix perform a regression and a bit of plot and then give me 3 matrices that I need to plot response surface and leverage surface. For plotting leverag

Re: [Matplotlib-users] Calling matplotlib from C++ ?

2006-12-19 Thread Xavier Gnata
Christopher Barker wrote: > yardbird wrote: > >> On Saturday 16 December 2006 19:42, Xavier Gnata wrote: >> > > >>> Each time I'm working on C++ codes using vector or valarray, I would >>> like to be able to plot them. >>> > > >> you should really check out the Boost::Python li

[Matplotlib-users] pcolor demo

2006-12-19 Thread Tarek Hidden
Hi guys, I'm trying to run the pcolor demo on my own data. I have an image and I need to draw the hot colormap on it. Can you advise on how I can do it? Sorry I'm not from the computer field so please try to be clear. Thanks so much in advance, Regards, _