Re: [Matplotlib-users] Problem (bug?) with mpl_toolkits.mplot3d.Axes3D

2011-01-09 Thread Daniel Mader
Dear Benjamin, thank you very much for your explanations, it really helped me to get a better understanding of what's going on! I've now tried to reverse the zpos list, i.e. instead of using [0,1,2,3,4] as the z-value for the collections I tried to plot them as [4,3,2,1,0] but this didn't help ei

[Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
Hi In one of my codes I need to plot several time series from different files, the files are of the form 20100118 10 20100119 12 20100120 14 20100121 16 20100126 18 20100221 25 20100222 25 20100227 26 20100228 30 I use something like the following to plot these: morning = numpy.loadtxt(morning_

Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Benjamin Root
On Sun, Jan 9, 2011 at 11:34 AM, Adam Mercer wrote: > Hi > > In one of my codes I need to plot several time series from different > files, the files are of the form > > 20100118 10 > 20100119 12 > 20100120 14 > 20100121 16 > 20100126 18 > 20100221 25 > 20100222 25 > 20100227 26 > 20100228 30 > >

[Matplotlib-users] exceptions in 3d zoom operation (bug report)

2011-01-09 Thread Daniel Hyams
Fairly easy to demonstrate; run the code below, and press the right mouse button in the middle of the box somewhere, and rapidly zoom in/out. It might take a few seconds, but I end up with an exception on both Windows and OSX. If it doesn't give you an exception within a few seconds, let go of the

Re: [Matplotlib-users] exceptions in 3d zoom operation (bug report)

2011-01-09 Thread Daniel Hyams
Fix (and it looks like this would need to be fixed in 1.0.1 as well): A few lines up in draw() (line 183 in axis3d.py) there is a filter for throwing out grid lines that are outside the axis limits. In exceptional cases though, "interval" has a greater number listed first, then the smaller. That

Re: [Matplotlib-users] exceptions in 3d zoom operation (bug report)

2011-01-09 Thread Benjamin Root
On Sun, Jan 9, 2011 at 3:55 PM, Daniel Hyams wrote: > Fairly easy to demonstrate; run the code below, and press the right mouse > button in the middle of the box somewhere, > and rapidly zoom in/out. It might take a few seconds, but I end up with an > exception on both Windows and OSX. If it doe

Re: [Matplotlib-users] exceptions in 3d zoom operation (bug report)

2011-01-09 Thread Benjamin Root
On Sun, Jan 9, 2011 at 4:15 PM, Daniel Hyams wrote: > Fix (and it looks like this would need to be fixed in 1.0.1 as well): > > A few lines up in draw() (line 183 in axis3d.py) there is a filter for > throwing out grid lines that are outside the axis limits. In > exceptional cases though, "inter

Re: [Matplotlib-users] exceptions in 3d zoom operation (bug report)

2011-01-09 Thread Daniel Hyams
Agreed; this is a band-aid at best. On Sun, Jan 9, 2011 at 5:23 PM, Benjamin Root wrote: > On Sun, Jan 9, 2011 at 4:15 PM, Daniel Hyams wrote: > >> Fix (and it looks like this would need to be fixed in 1.0.1 as well): >> >> A few lines up in draw() (line 183 in axis3d.py) there is a filter for

Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
On Sun, Jan 9, 2011 at 13:04, Benjamin Root wrote: > You have run into a peculiar numpy bug that I have reported several months > ago.  Essentially, np.loadtxt() does a squeeze() on the data right before > returning it.  Therefore, if there is only one line, the array returned is a > 1-d array ra