Re: [Matplotlib-users] How to place a canvas in a scrolledwindow andchange its size?

2007-02-13 Thread Giorgio Gilestro
I asked some help last week. I post here the solution to my problem since I believe it's something of general interest. A figure is generated and the user can change the size of the canvas (in inches) interactively, as if we are zooming in and out the canvas. This is particularly useful when you ar

[Matplotlib-users] Plot a sequence of zeros or ones

2007-02-13 Thread Giorgio Gilestro
I have a long list composed of either 0s or 1s. I would like to plot the sequence as a horizontal bar in which 0 = black pixel, 1 = white pixel - something looking like a barcode, if you know what I mean. Is there a way do to that with matplotlib? Thanks

[Matplotlib-users] How to place a canvas in a scrolledwindow and change its size?

2007-02-09 Thread Giorgio Gilestro
Dear matplotlib users, I am a new enthusiastic member of the matplotlib community. I'll start up my frequentation in the ml with two questions for which I couldn't find an answer; the first one is relatively tricky while the second one should be quite straigthforward. Both are, I believe, of gener