On 20 December 2012 12:35, Volker Braun <vbraun.n...@gmail.com> wrote:
> It is common practice to encode missing/invalid data points as NaN, see for
> example the NaN toolbox for Matlab/Octave
> (http://pub.ist.ac.at/~schloegl/matlab/NaN/).

That is a toolbox written to handle NaN to do this in a defined way
for MATLAB and Octave, whereas it would appear matplotlib does not
handle things this way. Someone else had problems with data having NaN
and matplotlib, if the first number in a list was NaN, then none of
the rest of it was plotted.

http://stackoverflow.com/questions/10939391/matplotlib-issues-when-nan-first-in-list

The suggestion there was to use numpy.isnan.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to