|
From: Philipp K. J. <ja...@ie...> - 2009-11-09 06:07:04
|
On Sunday 08 November 2009 09:11:58 pm Ethan Merritt wrote:
> On Sunday 08 November 2009, Philipp K. Janert wrote:
> > We'd like to hear feedback and suggestions. Is this
> > useful? Are we missing anything?
>
I think this is due to the "using (1)" - it should be ($1).
When I do this with "using ($1)", the stats command
reports on the invalid entry as it should.
> - I don't know how to interpret this behaviour:
> gnuplot> stats '-' using (1)
> input data ('e' ends) > 1
> input data ('e' ends) > 2
> input data ('e' ends) > NaN
> input data ('e' ends) > 4
> input data ('e' ends) > 5
>
> * FILE:
> Records: 4
> Invalid: 0
> Blank: 0
> Data Blocks: 1
>
> Why is the NaN not listed as either "invalid" or "blank"?
> Same thing happens for '?' or Inf or junk.
> I don't think this is being tracked correctly.
>
> NB: We exchanged Email off-list about making df_readline() more consistent
> about returning DF_UNDEFINED, DF_MISSING, and so on. Totally aside from
> keeping statistics, does anyone object to making
> plot 'foo'
> plot 'foo' using 1:2
> plot 'foo' using ($1):($2)
> all consistently return DF_MISSING and DF_UNDEFINED?
> Right now all three behave differently.
I completely agree. I would be great if readline
was behaving consistently. But we did not feel
confident to make changes to a routine that is
so central.
|