On Fri, Jan 27, 2012 at 9:52 AM, Fabien Lafont <lafont.fab...@gmail.com>wrote:

> Sorry, It's an awkward manipulation. I finish the mail
>
> 2012/1/27 Fabien Lafont <lafont.fab...@gmail.com>:
> > I want to plot something like:
> >
> >
> > X(time)        Ypoints
> > 0                    8
> > 1
> > 2                    7
> > 3                    6
> > 4                    4
> > 5
> > 6
> > 7                    7
> > 8                    2
> > 9                   10
>
> In fact I've recorded some live datas and when I use genfromtxt() the
> blank parts are "translated" as 'nan' and I can't for example fit it
> with polynomials.
>
>
If you plot the data, it should skip data points that are NaNs and you
should see a break in the line IIRC.  Is that not what you want?

Ben Root
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to