[Matplotlib-users] get_edgecolor broken_barh?

2008-06-19 Thread Paul Hartley
the broken_barh collection seems to lack the get_edgecolor() and get_color() fxns, yet you can set the edge colors with set_edgecolor(). Is there some way to get the edge colors of these guys? - Check out the new SourceForge.n

Re: [Matplotlib-users] Radar / Spider Chars

2008-06-19 Thread Curtis Jensen
No guarantees on when I'll have time, but I'll work on it. Thanks for the info. -- Curtis On Thu, Jun 19, 2008 at 8:17 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Jun 18, 2008 at 2:43 PM, Curtis Jensen <[EMAIL PROTECTED]> wrote: >> Nice. Thanks. I had tried to do something similar, bu

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Eric Firing
Bill Baxter wrote: > Thanks for the reply. > > On Fri, Jun 20, 2008 at 10:32 AM, Darren Dale <[EMAIL PROTECTED]> wrote: >> On Thursday 19 June 2008 9:13:15 pm Bill Baxter wrote: >>> On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: Hi Bill, On Thursday 19 June

Re: [Matplotlib-users] CocoaAgg backend seems to be broken

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 9:19 PM, Charles Moad <[EMAIL PROTECTED]> wrote: > Seems like that one little fix did the trick. I ran several examples and > haven't had any problems. Committed now. Thanks Charlie! Can you provide some basic instructions for those of us on osx how we can enable and te

Re: [Matplotlib-users] CocoaAgg backend seems to be broken

2008-06-19 Thread Charles Moad
On Jun 12, 2008, at 4:27 PM, John Hunter wrote: > On Thu, Jun 12, 2008 at 2:58 PM, İsmail Dönmez <[EMAIL PROTECTED]> > wrote: >> Hi all, >> >> I was trying matplotlib 0.98.0 and Qt4 backend works great but Coca >> backend seems to be broken : > > Charlie, > > any chance you can try and port coco

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
Thanks for the reply. On Fri, Jun 20, 2008 at 10:32 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 19 June 2008 9:13:15 pm Bill Baxter wrote: >> On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: >> > Hi Bill, >> > >> > On Thursday 19 June 2008 8:18:12 pm Bill Baxte

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Darren Dale
On Thursday 19 June 2008 9:13:15 pm Bill Baxter wrote: > On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > > Hi Bill, > > > > On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: > >> Matplot folks, > >> Is there a way to increase all font sizes globally across the board?

[Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-19 Thread Adam Mercer
Hi I have a plot that has two different y-axis scales and I want appropriate tick marks for the different y-axes. ie I want the tick marks on the left axis to correspond to the scale on the left axis etc... As far as I can tell the way to accomplish this, after consulting the documentation, is to

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > Hi Bill, > > On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: >> Matplot folks, >> Is there a way to increase all font sizes globally across the board? >> I played around with some RC parameters but they don't seem to

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Darren Dale
Hi Bill, On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: > Matplot folks, > Is there a way to increase all font sizes globally across the board? > I played around with some RC parameters but they don't seem to have > any effect. Here's a note from the default matplotlibrc: # note that fon

[Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
Matplot folks, Is there a way to increase all font sizes globally across the board? I played around with some RC parameters but they don't seem to have any effect. I found that I could more or less achieve the desired result by the following steps: 1) plot to something like subplot(6,6,1). That i

Re: [Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Adam Mercer
On Thu, Jun 19, 2008 at 7:07 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > You are looking for two_scales.py, it is distributed with matplotlib's > collection of examples: > http://matplotlib.sourceforge.net/matplotlib_examples_0.98.0.zip Thanks Darren, thats exactly what I was after. I must of ov

Re: [Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Darren Dale
Hi Adam, On Thursday 19 June 2008 8:01:32 pm Adam Mercer wrote: > I'm trying to produce a single plot containing two different datasets > that share the same x-axis but different y-axes, i.e. I would like one > y-axis to be on the left of the plot and the other on the right hand > side. I've looke

[Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Adam Mercer
Hi I'm trying to produce a single plot containing two different datasets that share the same x-axis but different y-axes, i.e. I would like one y-axis to be on the left of the plot and the other on the right hand side. I've looked for example that illustrates how to do this but have been unable to

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 3:37 PM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Thu, 19 Jun 2008, John Hunter apparently wrote: >> This is covered somewhat in Chapter 10 of the user's guide >> http://matplotlib.sourceforge.net/users_guide_0.98.0.pdf > > Your post was helpful. > I still do not see why

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread Alan G Isaac
On Thu, 19 Jun 2008, John Hunter apparently wrote: > This is covered somewhat in Chapter 10 of the user's guide > http://matplotlib.sourceforge.net/users_guide_0.98.0.pdf Your post was helpful. I still do not see why a figure has a canvas as data. I'll read that chapter. Thanks! Alan ---

Re: [Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
John Hunter wrote: > I don't think this is what you want. gtk is already threaded. By > doing things in the gtk mainloop, you are using their threading. You > are asking for a world of pain if you try and mix in python threading > unless you really know what you are doing. The point of the exam

Re: [Matplotlib-users] threading problems

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 2:30 PM, Daniel Ashbrook <[EMAIL PROTECTED]> wrote: > John Hunter wrote: >> >> Use the gtk mainloop and do your figure updates in a timeout add or a >> idle handler (as suggested in the animation tutorial at >> http://www.scipy.org/Cookbook/Matplotlib/Animations > > Excellen

Re: [Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
John Hunter wrote: > Use the gtk mainloop and do your figure updates in a timeout add or a > idle handler (as suggested in the animation tutorial at > http://www.scipy.org/Cookbook/Matplotlib/Animations Excellent, thanks. Your sample code adapted nicely; appended below for posterity. dan imp

Re: [Matplotlib-users] threading problems

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 1:40 PM, Daniel Ashbrook <[EMAIL PROTECTED]> wrote: > I need to have a plot window hang around and be occasionally updated by > my script as it does things. I've been looking through examples and have > not been able to get anything to work. > > My current approach, inspired

Re: [Matplotlib-users] World coordinates on image axes

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 12:26 PM, Cormac Purcell <[EMAIL PROTECTED]> wrote: > Hello, > > I need to find a way to apply a offset and scaling factor to the X and Y > axes on an image plot. Instead of showing the pixel number I would like > to transform the axes to 'world' coordinates, in this case de

[Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
I need to have a plot window hang around and be occasionally updated by my script as it does things. I've been looking through examples and have not been able to get anything to work. My current approach, inspired by strip_chart_demo.py and others in the animation examples, is: import gobject,

[Matplotlib-users] World coordinates on image axes

2008-06-19 Thread Cormac Purcell
Hello, I need to find a way to apply a offset and scaling factor to the X and Y axes on an image plot. Instead of showing the pixel number I would like to transform the axes to 'world' coordinates, in this case degrees of Right-ascension and Declination in an astronomical image. The transforma

Re: [Matplotlib-users] Rotating an axes instance

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 11:23 AM, Bryan Fodness <[EMAIL PROTECTED]> wrote: > I have an axes instance that I would like to rotate. I see that there is a > rotation keyword for text and would like to do something like that with a > plot. Is this possible. Not currently, no. JDH -

Re: [Matplotlib-users] tesgdal in examples of basemap

2008-06-19 Thread Jose Gómez-Dans
Hi, On Thursday 19 June 2008 00:16:39 KURT PETERS wrote: > array = gd.ReadAsArray() > AttributeError: 'NoneType' object has no attribute 'ReadAsArray' > > Anyone know what the problem is? Do I need something else? Did you download the Denver DEM from USGS? From testgdal.py: # download from

Re: [Matplotlib-users] tesgdal in examples of basemap

2008-06-19 Thread KURT PETERS
Thanks, sadly, I DID download them and had them in the right directory. I had just not decompressed them! Kurt -- Message: 4 Date: Thu, 19 Jun 2008 14:47:51 +0100 From: Jose G?mez-Dans <[EMAIL PROTECTED]> Subject: Re: [Matplotlib-users] tesgdal in examples of basema

[Matplotlib-users] Rotating an axes instance

2008-06-19 Thread Bryan Fodness
I have an axes instance that I would like to rotate. I see that there is a rotation keyword for text and would like to do something like that with a plot. Is this possible. -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo "Any

Re: [Matplotlib-users] position of ylabel

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 5:16 AM, Friedrich Hagedorn <[EMAIL PROTECTED]> wrote: > Hello, > > I want to adjust the x position of my ylabel, like > > subplot(111) > ylabel('YLabel', x=-.25, y=.75) > > the 'y=.75' argument is applied but the 'x=-.2' argument has no affect. > But why? Have you any ide

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread John Hunter
On Thu, Jun 19, 2008 at 8:58 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Thu, 19 Jun 2008, Scott Sinclair apparently wrote: >> canvas = FigureCanvas(fig) > > What is the relationship between a figure and a canvas? The Figure is the top level matplotlib artist container that contains all the o

Re: [Matplotlib-users] Radar / Spider Chars

2008-06-19 Thread John Hunter
On Wed, Jun 18, 2008 at 2:43 PM, Curtis Jensen <[EMAIL PROTECTED]> wrote: > Nice. Thanks. I had tried to do something similar, but kept getting > a curved line between each data point. > Also, I too got errors with a previous versions of matplotlib, but 0.98 works. > > If someone were willing to

Re: [Matplotlib-users] Large axis labels/positioning the axes

2008-06-19 Thread John Hunter
On Wed, Jun 18, 2008 at 2:42 PM, David Warde-Farley <[EMAIL PROTECTED]> wrote: > One more related thing: is there any way to retrieve the size of a textbox > in figure coordinates, something like > ax.get_ymajorticklabels[0].get_width()? This is not very easy since the renderer is not known until

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread Alan G Isaac
On Thu, 19 Jun 2008, Scott Sinclair apparently wrote: > canvas = FigureCanvas(fig) What is the relationship between a figure and a canvas? My impression is the following. You can do all your drawing on a figure. When you want to render the figure (e.g., to screen, or printing to file), and not

Re: [Matplotlib-users] tesgdal in examples of basemap

2008-06-19 Thread Jose Gómez-Dans
Hi, On Thursday 19 June 2008 00:16:39 KURT PETERS wrote: > array = gd.ReadAsArray() > AttributeError: 'NoneType' object has no attribute 'ReadAsArray' > > Anyone know what the problem is? Do I need something else? Did you download the Denver DEM from USGS? From testgdal.py: # download from

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread Scott Sinclair
>>> David Goldsmith <[EMAIL PROTECTED]> 06/19/08 9:39 AM >>> Hi! I'm having trouble figuring out how to plot an array as an image with the OO interface - please help (e.g., w/ an example). Thanks, DG >>> >From the examples >http://matplotlib.sourceforge.net/matplotlib_examples_0.98.0.zip ../

[Matplotlib-users] position of ylabel

2008-06-19 Thread Friedrich Hagedorn
Hello, I want to adjust the x position of my ylabel, like subplot(111) ylabel('YLabel', x=-.25, y=.75) the 'y=.75' argument is applied but the 'x=-.2' argument has no affect. But why? Have you any idea to do this? Thank you, Friedrich

[Matplotlib-users] Xlib: extension "XInputExtension" missing on display "ubuntu.local:1.0".

2008-06-19 Thread G Jones
Hello, I am running matplotlib applications over VNC and during the initialization segment, I always see the above error. It doesn't seem to cause any problems, but I am curious what is causing it. Does anyone have an idea? This happens using the Qt4Agg backend at least. It seems to occur right whe

Re: [Matplotlib-users] deb or rpm packages

2008-06-19 Thread Andrew Straw
rex wrote: > Andrew Straw <[EMAIL PROTECTED]> [2008-06-05 09:42]: > >> For i386: >> >> http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_i386.deb >> >> For amd64: >> >> http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_amd64.deb >> >> For all arch: >> >> http://debs.astraw.co

[Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread David Goldsmith
Hi! I'm having trouble figuring out how to plot an array as an image with the OO interface - please help (e.g., w/ an example). Thanks, DG - Check out the new SourceForge.net Marketplace. It's the best place to bu

Re: [Matplotlib-users] deb or rpm packages

2008-06-19 Thread rex
Andrew Straw <[EMAIL PROTECTED]> [2008-06-05 09:42]: >For i386: > >http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_i386.deb > >For amd64: > >http://debs.astraw.com/hardy/python-matplotlib_0.98.0-0ads2_amd64.deb > >For all arch: > >http://debs.astraw.com/hardy/python-matplotlib-data_0.98