Re: [Matplotlib-users] passing 1D or 2D arrays to contour, pcolor, image, plot

2006-07-14 Thread Mark Bakker
You are right, concerning your comment below.That will work just fine,MarkOn 7/13/06, Eric Firing <[EMAIL PROTECTED] > wrote:But why is this better than the following?plot(Z[0,:], Z[1:,:]) The latter would accomplish the same, be completely consistent withoption 4, be completely explicit and unambi

Re: [Matplotlib-users] Legend: Space between text and upper bo

2006-07-14 Thread Marquardt, Colin
Title: Re: [Matplotlib-users] Legend: Space between text and upper bo Till Wagner <[EMAIL PROTECTED]> writes: > leg.draw_frame(False) might be an option, but I use > self.axes.grid(True) and when the legend has no > borders, the grid is shown through the text and makes > ist nearly unredable

Re: [Matplotlib-users] Compiled against version 90709 of C-API... numpy is 90907

2006-07-14 Thread Stefan van der Walt
On Thu, Jul 13, 2006 at 08:21:14PM -0400, Darren Dale wrote: > On Thursday 13 July 2006 8:08 pm, Brian Wilfley wrote: > > I'm afraid I mixed and matched inappropriately withe the enthought 2.4 > > beta 3 and matplotlibe 0.87.4 py2.4 pairing. > > > > Any thoughts? > > > > > RuntimeError: module com

[Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread Richard Albright
How can I turn off the decade ticks in the following simple example? from pylab import * x=(1,2,3,4,5) y=(13, 22,19,26,32) set_major_locator(NullLocator()) set_major_formatter(NullFormatter()) semilogy(x,y) show() I am building stock graphs with the library, but have not been able to figure out h

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread PGM
On Friday 14 July 2006 11:25, Richard Albright wrote: > from pylab import * > x=(1,2,3,4,5) > y=(13, 22,19,26,32) > set_major_locator(NullLocator()) > set_major_formatter(NullFormatter()) > semilogy(x,y) > show() Have you tried that ? gca().yaxis.set_minor_locator(NullLocator()) Or maybe I don't

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread John Hunter
> "PGM" == PGM <[EMAIL PROTECTED]> writes: PGM> On Friday 14 July 2006 11:25, Richard Albright wrote: >> from pylab import * x=(1,2,3,4,5) y=(13, 22,19,26,32) >> set_major_locator(NullLocator()) >> set_major_formatter(NullFormatter()) semilogy(x,y) show() PGM> Have you tr

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread PGM
> There is an easier way, however. That's what I like in matplotlib: no matter how hard you try, there's always a simpler solution you're not yet aware of... - Using Tomcat but need to do more? Need to support web servic

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread John Hunter
> "PGM" == PGM <[EMAIL PROTECTED]> writes: >> There is an easier way, however. PGM> That's what I like in matplotlib: no matter how hard you try, PGM> there's always a simpler solution you're not yet aware of... hmm... if you try hard, you should be led to the easy way! while s

[Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread Richard Albright
thanks for the subsy tip!, it did exactly what i couldn't do using NullLocator() and NullFormatter(), regardless if i put it before or after the semilogy command. On Fri, 2006-07-14 at 11:52 -0500, John Hunter wrote: > > "PGM" == PGM <[EMAIL PROTECTED]> writes: > > >> There is an easier

Re: [Matplotlib-users] turn off decade ticks in log plots?

2006-07-14 Thread John Hunter
> "Richard" == Richard Albright <[EMAIL PROTECTED]> writes: Richard> thanks for the subsy tip!, it did exactly what i couldn't Richard> do using NullLocator() and NullFormatter(), regardless if Richard> i put it before or after the semilogy command. That's probably because you wer

Re: [Matplotlib-users] Can you set numerix in a script?

2006-07-14 Thread Christopher Barker
Gary Ruben wrote: > Yep, just do > > from pylab import * > rcParams['numerix'] = 'numpy' well, duh. sorry for being such and idiot, but I'm surprised that you can set numerix after importing pylab. > If I was developing something now, I would only bother supporting numpy. That's my thought too

Re: [Matplotlib-users] Can you set numerix in a script?

2006-07-14 Thread John Hunter
> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes: Christopher> well, duh. sorry for being such and idiot, but I'm Christopher> surprised that you can set numerix after importing Christopher> pylab. You can't -- you need to change the numerix setting first (or use th

Re: [Matplotlib-users] problem with enthon's mpl.

2006-07-14 Thread Gary Ruben
I tried it out and it is fixed in the latest Enthought release 1.0.0beta4 Gary Ruben wrote: > Hi Rob, > > A couple of us reported this last week on the scipy list and I think it > should be fixed in the version which was just released by Enthought, so > if your friend will persevere and grab th

Re: [Matplotlib-users] Compiled against version 90709 of C-API... numpy is 90907

2006-07-14 Thread Brian Wilfley
Muchas Muchas Gracias! bpw On 7/14/06, Stefan van der Walt <[EMAIL PROTECTED]> wrote: > On Thu, Jul 13, 2006 at 08:21:14PM -0400, Darren Dale wrote: > > On Thursday 13 July 2006 8:08 pm, Brian Wilfley wrote: > > > I'm afraid I mixed and matched inappropriately withe the enthought 2.4 > > > beta 3