Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Pierre GM
On Thursday 21 June 2007 17:15:01 Eric Firing wrote: > trans = blend_xy_sep_transform( self.transData, self.transAxes ) > > where "self" in this case is the axes instance, so you would use "ax" or > whatever. Then, since the collection is an artist, you can use its > inherited set_transform(tran

Re: [Matplotlib-users] out of curiosity...

2007-06-21 Thread Ryan Krauss
I don't think we are actually disagreeing with one another. I have written the kind of library you are talking about and used the same library from ipython and in a wxpython app. All of my plotting functions expect a fig instance as an input. When calling the library from ipython, I pass in a fi

[Matplotlib-users] Setting attributes of a text object

2007-06-21 Thread stephen
I'd like to make a text instance italic, but this doesn't seem to be working: t = text(15.e3, -70, "25 kHz") t.set_color('r') t.set_style('italic') Stephen - This SF.net email is sponsored by DB2 Express Download DB2 Expres

Re: [Matplotlib-users] Several toolbars_NavigationToolbar2Wx

2007-06-21 Thread John Hunter
On 6/21/07, Miquel Poch <[EMAIL PROTECTED]> wrote: > And here is my problem. I can put one toolbar for each graph, but when I > make a zoom I want all the graphs change in the same way. That's possible? > I've been thinking in make zoom in one graph, and then create a function > that receive the d

Re: [Matplotlib-users] Figure titles and subplot titles

2007-06-21 Thread Chloe Lewis
and a quick sample (not suptitle, but using subplots_adjust): import pylab as p p.figtext(0.5,0.9,'Big Old Title', ha='center') p.subplots_adjust(top=0.8) p.subplot(1,2,1) p.title('Lefthand') p.plot([4,3,2,1]) p.subplot(1,2,2) p.title('Righthand') p.plot([3,3,1,3]) On Jun 21, 2007, at 21 Jun,2:1

Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Eric Firing
Pierre GM wrote: > All, > I need to plot stripes of different widths at different locations along the x > axis, but spanning the whole range of y data. Using axvspan in a loop works > quite fine. However, I was wondering whether it wouldn't be more efficient to > build a PatchCollection. > Brok

Re: [Matplotlib-users] Figure titles and subplot titles

2007-06-21 Thread Philip Austin
[EMAIL PROTECTED] writes: > I didn't see this in the examples. Can I have a figure title and titles > for subplots too? Can someone post a quick sample? Thanks. here's a short answer: http://thread.gmane.org/gmane.comp.python.matplotlib.devel/1071/focus=1117 -- Phil --

Re: [Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread John Hunter
On 6/21/07, Pierre GM <[EMAIL PROTECTED]> wrote: > All, > I need to plot stripes of different widths at different locations along the x > axis, but spanning the whole range of y data. Using axvspan in a loop works > quite fine. However, I was wondering whether it wouldn't be more efficient to > bui

[Matplotlib-users] Figure titles and subplot titles

2007-06-21 Thread stephen
I didn't see this in the examples. Can I have a figure title and titles for subplots too? Can someone post a quick sample? Thanks. Stephen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE ver

[Matplotlib-users] A collection of axvspan ?

2007-06-21 Thread Pierre GM
All, I need to plot stripes of different widths at different locations along the x axis, but spanning the whole range of y data. Using axvspan in a loop works quite fine. However, I was wondering whether it wouldn't be more efficient to build a PatchCollection. BrokenBarHCollection could be a c

[Matplotlib-users] Several toolbars_NavigationToolbar2Wx

2007-06-21 Thread Miquel Poch
Hi! I'm trying to embed Matplotlib in wxPython and I find myself in some troubles. I'm sure someone here could help me. I need an application where plot some functions, three or four graphics at the same time. I've done a frame, and with matplotlib I've plot two graphs in it. I've introduced a t

Re: [Matplotlib-users] out of curiosity...

2007-06-21 Thread Roman Bertle
Hello, thank you very much for you answer. The oddness clears if you consider that the generating of the figure might be done in an external library. Imagine a data analyze package with functions with can also generate one or more plots. As a library I think here the OO interface is most appropria

[Matplotlib-users] Request: individual point characteristics in the scatter command

2007-06-21 Thread Jon Brinkmann
It would be VERY nice if all characteristics of a point , e.g., alpha, marker, label, etc., were individually configurable via a sequence in the scatter command just as color and size are now. Does anyone have a patch for this? Jon