lognplot icon indicating copy to clipboard operation
lognplot copied to clipboard

Plotting NaN Values has strange behaviour

Open phectori opened this issue 4 years ago • 3 comments

There you go!

Screenshot_20200309_164416

phectori avatar Mar 09 '20 15:03 phectori

What type of behavior do you expect?

Options:

  • Drop all NaN values
  • other ideas?

windelbouwman avatar Mar 09 '20 16:03 windelbouwman

I would say: Do not draw a line between the points surrounding the NaN value, or maybe ignore it completely.

It depends whether you want to indicate a NaN value has been sent. You could also give the line between the surrounding points a "warning" colour.

phectori avatar Mar 09 '20 20:03 phectori

The simplest implementation would be to ignore the value.

This might well be different from the right thing to do. In any case, I propose to drop the value with an warning in the logging. The person sending the data should check on NaN values I assume?

windelbouwman avatar Mar 10 '20 18:03 windelbouwman