Re: [Matplotlib-users] Append _one point_ to a plot?

2009-07-03 Thread Jae-Joon Lee
On Fri, Jul 3, 2009 at 1:05 PM, guillaume ranquet wrote: > but something sounds plain wrong, It sounds like there's too much > useless calculations and data copied. > Well, if you think something is wrong, I guess you may have chosen a wrong tool. MPL is mainly for 2d plotting, and not very strong

Re: [Matplotlib-users] contourf: black lines connecting contour levels?

2009-07-03 Thread Jae-Joon Lee
The example in the cookbool works fine with svn version of mpl. So, it seems that this bug has been fixed. Anyhow, which command (contour or contourf) draws the vertical lines? I bet it is contourf. And set_edgecolor("none") for return value of contourf should have some effect. Did you redraw the

Re: [Matplotlib-users] Highlighting the axes of coordinates

2009-07-03 Thread Jae-Joon Lee
Changing the properties of the individual grid line can be tricky. The easier way in my opinion is to draw another line with thinker linewidth. ax=subplot(111) ax.grid() from matplotlib.transforms import blended_transform_factory # for x=0 trans = blended_transform_factory(ax.transData, ax.trans

Re: [Matplotlib-users] Append _one point_ to a plot?

2009-07-03 Thread Ryan May
On Fri, Jul 3, 2009 at 12:05 PM, guillaume ranquet wrote: > Ryan May wrote: > > > > > > On Fri, Jul 3, 2009 at 8:32 AM, guillaume ranquet > > wrote: > > > > Hi list, > > > > I'm trying to get a dynamic plot running. > > I'm stuck at feeding the data to the

Re: [Matplotlib-users] Append _one point_ to a plot?

2009-07-03 Thread guillaume ranquet
Ryan May wrote: > > > On Fri, Jul 3, 2009 at 8:32 AM, guillaume ranquet > wrote: > > Hi list, > > I'm trying to get a dynamic plot running. > I'm stuck at feeding the data to the lines. > > basically I've a callback that receives a (y,x1,x2) tuple a

Re: [Matplotlib-users] Append _one point_ to a plot?

2009-07-03 Thread Ryan May
On Fri, Jul 3, 2009 at 8:32 AM, guillaume ranquet wrote: > Hi list, > > I'm trying to get a dynamic plot running. > I'm stuck at feeding the data to the lines. > > basically I've a callback that receives a (y,x1,x2) tuple and I would > like to add the 2 points to the two matplotlib.lines of the fi

[Matplotlib-users] Append _one point_ to a plot?

2009-07-03 Thread guillaume ranquet
Hi list, I'm trying to get a dynamic plot running. I'm stuck at feeding the data to the lines. basically I've a callback that receives a (y,x1,x2) tuple and I would like to add the 2 points to the two matplotlib.lines of the figure. should I handle a copy of xdata/ydata and gives the updated set

Re: [Matplotlib-users] to much points

2009-07-03 Thread Markus Feldmann
Michael Droettboom schrieb: > This should now be fixed on the maintenance branch and trunk. A Numpy > array allocation was not being NULL-checked in _path.cpp:affine_transform. > > I know a MemoryError doesn't help the user much more than a segfault, > but it always makes me feel better to get