Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3221

Re: stats for a row not a column

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: stats for a row not a column
Date 2016-02-09 10:15 +0100
Organization solani.org
Message-ID <n9cao5$j5$1@solani.org> (permalink)
References <n909ea$1lk$1@dont-email.me> <n92qmm$i8v$1@solani.org> <n92vbv$4i9$1@dont-email.me> <n97ssc$i9v$1@solani.org>

Show all headers | View raw


Am 07.02.2016 um 17:54 schrieb Karl Ratzsch:
> Limiting the y range with "stats matrix" indeed doesn't work:
> 
>   $dat << EOD
>   10 10 10
>   20 20 20
>   40 40 40
>   100 1000 10000
>   EOD
> 
>   stats [:] [1:1] $dat matrix
> 
> The second range specifier refers to the data (z) values, not the
> constructed abscissa values. "set yrange" has no effect.
> 
> And there seems to be a general problem with stat matrix, it interacts
> strangely with splot:
> 
>   splot $dat
>   stats $dat matrix
> 
> gives the mean of the x-axis values (here 0,1,2), as long as that splot
> is the last plot command. If you give
> 
>   plot $dat
>   stats $dat matrix
> 
> the correct mean is again returned.

I've filed a bug on https://sourceforge.net/p/gnuplot/bugs/1739/ for this.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

stats for a row not a column Jörg Buchholz <bookwood4news@freenet.de> - 2016-02-04 20:42 +0100
  Re: stats for a row not a column Jörg Buchholz <bookwood4news@freenet.de> - 2016-02-05 18:34 +0100
  Re: stats for a row not a column Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-05 19:46 +0100
    Re: stats for a row not a column Jörg Buchholz <bookwood4new@freenet.de> - 2016-02-05 21:09 +0100
      Re: stats for a row not a column Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-07 17:54 +0100
        Re: stats for a row not a column Jörg Buchholz <bookwood4news@freenet.de> - 2016-02-08 19:32 +0100
        Re: stats for a row not a column Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-09 10:15 +0100
      Re: stats for a row not a column Ethan A Merritt <sfeam@users.sourceforge.net> - 2016-02-09 11:44 -0800
        Re: stats for a row not a column Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-09 22:48 +0100

csiph-web