Re: [Matplotlib-users] matshow?

2007-03-19 Thread Fernando Perez
On 3/19/07, Eric Firing <[EMAIL PROTECTED]> wrote: > One of the matshow anomalies is that it is a pylab function only instead > of a wrapper for an Axes method, so I made a new Axes.matshow(), and a > temporary matshow1() pylab function that calls it. Differences between > matshow() and matshow1(

[Matplotlib-users] Scrollbars and subplots..

2007-03-19 Thread lazardo
I'm curious .. how can we include a scrollbar with a subplot, instead of the back and front arrows to view the subplot. Googling matplotlib+scrollbar+subplot brings up a very few results, so I guess it hasn't been attempted before. Any ideas ? Thanx. iyer

Re: [Matplotlib-users] pylab vs. embedding in wx

2007-03-19 Thread Ryan Krauss
Thanks to Ken and John, I think I am off and running. Nice work on wxmpl Ken! I think it fills a significant need. The two attached files show a ridiculously simple example of what I am planning to do. It may be completely obvoius to others. test_plot.py is an example of a module that can be

Re: [Matplotlib-users] pylab vs. embedding in wx

2007-03-19 Thread Ryan Krauss
Sorry, I just googled wxmpl and found your page and am now downloading it. I may have a more intelligent question momentarily. You may ignore that part of my response. Ryan On 3/19/07, Ryan Krauss <[EMAIL PROTECTED]> wrote: > Thanks for your thoughts Ken. Sorry, I assumed a bit on the context

Re: [Matplotlib-users] pylab vs. embedding in wx

2007-03-19 Thread Ken McIvor
Ryan, In my (limited) experience, it's dicey to mix pylab's plotting functionality and the OO API. I guess I'm a little unclear exactly what your use case is for this. It sounds like you're goal is to create a library of functions that operate on Figure instances, perhaps so you can use

Re: [Matplotlib-users] pylab vs. embedding in wx

2007-03-19 Thread Ryan Krauss
I am learning the hard way that I don't know as much about matplotlib as I thought I did except for how to use pylab. I think I have managed to create a figure, add an axis, and plot something on it without pylab, but I don't know how to do the equivalent of show(). draw() needs a renderder and I

Re: [Matplotlib-users] Question about matshow

2007-03-19 Thread Eric Firing
Pellegrini Eric wrote: > Hi, > > I have some problems to combine a matshow object with a canvas. Here is > a little piece of code that illustrates my problem. It displays a > matshow object when pressing a button. > I would like to embed the matshow object into a canvas of a fixed > dimension.

Re: [Matplotlib-users] Feature request: make labels accept non-string arguments

2007-03-19 Thread Victoria G. Laidler
Thanks!! I really appreciate the fast action! Vicki Eric Firing wrote: > Victoria G. Laidler wrote: > [...] >> It would be extremely useful if xlabel, ylabel, title, and possibly >> legend could be made smart enough to attempt to call a __str__ method >> on the objects they are passed, so that

Re: [Matplotlib-users] Displaying several points with different colors

2007-03-19 Thread Matthieu Brucher
Hi, I tried it again, and now it works like charm with numpy arrays. I do not understand why it did not work before, but it works now, it's all that matters :) But 3D is another problem... Matthieu 2007/3/14, Eric Firing <[EMAIL PROTECTED]>: Matthieu Brucher wrote: > What version of mpl a

[Matplotlib-users] Question about matshow

2007-03-19 Thread Pellegrini Eric
Hi, I have some problems to combine a matshow object with a canvas. Here is a little piece of code that illustrates my problem. It displays a matshow object when pressing a button. I would like to embed the matshow object into a canvas of a fixed dimension. The code I wrote does the opposite i