Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-28 Thread Paul Ivanov
Eric Firing, on 2008-11-28 17:55, wrote: > Paul Ivanov wrote: >> Hi Jesper, >> >> confirming the problem over here, as well. both numpy and mpl from svn >> (also on an Ubuntu 8.04 machine). > > Just checking: did you do a clean build of numpy (deleting any old build > directory) and then a clean b

Re: [Matplotlib-users] split axis scale

2008-11-28 Thread Eric Firing
Robin wrote: > Hi, > > I have a plot containing two lines that are quite far apart - ie one > line oscillates around y=2, the other around y=10. The osciallations > are small, but I would like to show the detail better (while having > htem in a single plot). I suggest using twinx(); the scale for

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-28 Thread Eric Firing
Paul Ivanov wrote: > Hi Jesper, > > confirming the problem over here, as well. both numpy and mpl from svn > (also on an Ubuntu 8.04 machine). Just checking: did you do a clean build of numpy (deleting any old build directory) and then a clean build of mpl? Distutils is not very smart about de

Re: [Matplotlib-users] split axis scale

2008-11-28 Thread Ben Gamari
If I'm not mistaken, you might be able to write a Transform (http://matplotlib.sourceforge.net/devel/transformations.html) to do this, although I'm not sure how you'd render the split-mark. I don't really know these things though, just a thought. - Ben On Fri, 2008-11-28 at 13:09 +, Robin wr

[Matplotlib-users] Plotting histograms with zero counts

2008-11-28 Thread Yang Zhang
Hi, when I do: hist([0,0,0], bins=10, range=(0,10)) How come the single bin takes up the entire plot? Same with just two values, or anything less than 10 - the two bars take up the entire plot, no matter what I plug in for range. I'd just like 10 bins, from 0 to 9. -- Yang Zhang http://ww

Re: [Matplotlib-users] Simple 3D support

2008-11-28 Thread Nicolas Rougier
I tried installing mayavi on macos some months ago but I do not remember exactly what were the problems. I know that I ended recompiling vtk from sources and it did not work for some reason. The EPD bundle did not work because (I think) of some conflicts between installed python version (macpytho

Re: [Matplotlib-users] Simple 3D support

2008-11-28 Thread Lou Pecora
This looks interesting. What platform are you using? How hard was the installation and what problems, if any, did you run into? And their fixes? Thanks for the info. -- Lou Pecora, my views are my own. --- On Thu, 11/27/08, Nicolas Rougier <[EMAIL PROTECTED]> wrote: > From: Nicolas Roug

[Matplotlib-users] split axis scale

2008-11-28 Thread Robin
Hi, I have a plot containing two lines that are quite far apart - ie one line oscillates around y=2, the other around y=10. The osciallations are small, but I would like to show the detail better (while having htem in a single plot). So I thought it would be nice if the y-axis scale went from 1-3