|
From: Philipp K. J. <ja...@ie...> - 2009-11-09 05:32:09
|
On Sunday 08 November 2009 09:14:36 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?
>
> Some first thoughts:
> =======================
> - int_error( NO_CARET,
> "Out of memory in stats: too many datapoints (%d)?", max_n );
> Can this really happen? Does the session survive?
Probably not. But then again, if you are out of memory
here, there is probably little useful you can do with the
session going forward. For me, the purpose of this
command was to at least tell the user what was wrong,
rather than dying silently.
Regarding binary and matrix data: If you look at the
documentation, you will notice that we dont' claim
to support either binary nor matrix data. I guess
we should have been more explicit about flagging
those keywords as errors on the command line.
That is a limitation, but it's not clear to me how much
of a real limitation this is in practice. How important
is the matrix format overall, and in particular outside
of splot?
(I think the "fit" command does not handle either
format, either.)
>
>
> =========================
> - What's the intent with binary data? Simple attempt based on image.dem
> doesn't work:
>
> gnuplot> plot 'blutux.rgb' binary array=(128,128) dx=1 flip=y
> rotation=0.5pi \ origin=(0,0) format='%uchar' using ($1+$2+$3)/3 with image
> gnuplot> stats 'blutux.rgb' binary array=(128,128) format='%uchar' using
> ($1+$2+$3)/3 ^ Need 0 to 2 using specs for stats command
>
>
> ========================
> - I don't know what values are being pulled from this data,
> but the stats don't look right :-)
>
> gnuplot> stats '-' matrix
> input data ('e' ends) > 1 2 3 4
> input data ('e' ends) > 1 2 3 4
> input data ('e' ends) > 1 2 3 4
> input data ('e' ends) > 1 2 3 4
> input data ('e' ends) > e
> input data ('e' ends) > e
>
> * FILE:
> Records: 16
> Invalid: 0
> Blank: 3
> Data Blocks: 1
>
> * COLUMNS:
> Mean: 1.5000 2.5000
> Std Dev: 1.1180 1.1180
> Sum x: 24.0000 40.0000
> Sum x^2: 56.0000 120.0000
>
> Minimum: 0.0000 [ 1] 1.0000 [ 1]
> Quartile: 1.0000 [ 2] 2.0000 [ 2]
> Median: 2.0000 [ 3] 3.0000 [ 3]
> Quartile: 3.0000 [ 4] 4.0000 [ 4]
> Maximum: 3.0000 [16] 4.0000 [16]
|