Re: [Matplotlib-users] \n not working in text ?

2006-12-28 Thread Eric Emsellem
ok thanks for the check. Since it seems like a personal setting pb, I have now restarted from a clean matplotlibrc and set up my prefered option. It now works (no clue why it didn't...) sorry for the trouble and thanks for doing that test. cheers Eric Eric Firing wrote: > It works on my machine (

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> either, indistinguishably from the way it does now. The Eric> problem is that with a linear axis we want the axis to start Eric> at zero by default, but with a log axis we want it to start With ymin at 1e-100, the default (

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread Eric Firing
Diwaker Gupta wrote: >> Examples: >> >> This makes a sensible plot that behaves well under zooming and panning: >> hist(randn(1000), log=True) >> show() > > Thanks! However... > >> The following still generates an exception: >> hist(randn(1000)) >> gca().set_yscale('log') >> show() > > I think t

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread Diwaker Gupta
> Examples: > > This makes a sensible plot that behaves well under zooming and panning: > hist(randn(1000), log=True) > show() Thanks! However... > The following still generates an exception: > hist(randn(1000)) > gca().set_yscale('log') > show() I think this makes the API more confusing. As an

Re: [Matplotlib-users] \n not working in text ?

2006-12-28 Thread Eric Firing
It works on my machine (linux) with svn, but I don't see anything about this in CHANGELOG. Eric Eric Emsellem wrote: > hi, > > I am trying to have text written on 2 lines, but everything is written > on a single line. Is that normal? > > here is an example: > > plot(arange(10)) > ylabel('this

[Matplotlib-users] \n not working in text ?

2006-12-28 Thread Eric Emsellem
hi, I am trying to have text written on 2 lines, but everything is written on a single line. Is that normal? here is an example: plot(arange(10)) ylabel('this is vertical \n test') text(0.5,0.5,"this is a test \n but does not work") thanks Eric === Suse 10.1 matplotlib versi

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread Eric Firing
John, Thank you for your thorough and thoughtful reply. OK, I am convinced. I had not realized that the present line-drawing code actually is omitting nonpositive points, but now I see the Line.get_plottable() method. I have committed changes to svn that I think will be helpful--maybe good en

Re: [Matplotlib-users] Can't get pylab to import with Python 2.4 on Mac OS X 10.4.8 on PPC

2006-12-28 Thread Jeff Whitaker
Chris Pettit wrote: > Thanks in advance to anyone who can help. This is my first extended > attempt to make matplotlib work, and I'm relatively new to the whole > Python world. I have MacPython2.4 running now, which seems to work > fine. I installed everything for matplotlib, scipy, etc., fro

[Matplotlib-users] Can't get pylab to import with Python 2.4 on Mac OS X 10.4.8 on PPC

2006-12-28 Thread Chris Pettit
Thanks in advance to anyone who can help. This is my first extended attempt to make matplotlib work, and I'm relatively new to the whole Python world. I have MacPython2.4 running now, which seems to work fine. I installed everything for matplotlib, scipy, etc., from the Mac OS 10.4 SciPy Su

Re: [Matplotlib-users] contours & polar?

2006-12-28 Thread Jeff Whitaker
Petr Danecek wrote: > Hello, > first of all: thanks for the great software!! After the years of > struggling with gnuplot, i really enjoy making my graphs with > matplotlib. > > I'd like to ask, if it is possible to create a contour graph using polar > coordinates? If not, can someone give me some

[Matplotlib-users] contours & polar?

2006-12-28 Thread Petr Danecek
Hello, first of all: thanks for the great software!! After the years of struggling with gnuplot, i really enjoy making my graphs with matplotlib. I'd like to ask, if it is possible to create a contour graph using polar coordinates? If not, can someone give me some pointers about how to implement i

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Adjusting zero and negative values (or maybe just zero) Eric> would be unacceptable in a numerics library, but in the Eric> context of our graphical transforms it is analogous to Eric> clipping, and this we do all the

Re: [Matplotlib-users] Printing with gtk-2.10

2006-12-28 Thread Achim Gaedke
Hi Steve! Yes, that's right. Most of the people will help themselves with saving the picture and then printing by an arbitary program. On Linux I would implement printing via pipelines to lp, but on Windows I have no clue how to get the job done. So I was glad to find the PrintOperations for GTK2