From: Kostas on
Hello all, i would like to ask you if there is any way to count/print in a graph the number of points that are out of the range of y axis. I use like ylimit the mean value of my points +-3 standard deviations
ylimit([(mean-3*std) (mean+3*std)])

Thanks in advance,
Kostas
From: ImageAnalyst on
On May 18, 6:30 am, "Kostas " <kfrag...(a)gmail.com> wrote:
> Hello all, i would like to ask you if there is any way to count/print in a graph the number of points that are out of the range of y axis. I use like ylimit the mean value of my points +-3 standard deviations
> ylimit([(mean-3*std) (mean+3*std)])
>
> Thanks in advance,
> Kostas

----------------------------------
How about
yMean = mean(y(:));
yStd = std(y(:));
numberOutsideRange = sum(y<yMean-3*yStd) + sum(y>yMean+3*yStd) ;

This is just the number of points, a scalar, so I'm not sure what kind
of graph you were thinking of to graph it.
From: Kostas on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <15260e5a-22a3-4fff-a8e4-87622da9190a(a)j27g2000vbp.googlegroups.com>...
> On May 18, 6:30 am, "Kostas " <kfrag...(a)gmail.com> wrote:
> > Hello all, i would like to ask you if there is any way to count/print in a graph the number of points that are out of the range of y axis. I use like ylimit the mean value of my points +-3 standard deviations
> > ylimit([(mean-3*std) (mean+3*std)])
> >
> > Thanks in advance,
> > Kostas
>
> ----------------------------------
> How about
> yMean = mean(y(:));
> yStd = std(y(:));
> numberOutsideRange = sum(y<yMean-3*yStd) + sum(y>yMean+3*yStd) ;
>
> This is just the number of points, a scalar, so I'm not sure what kind
> of graph you were thinking of to graph it.

Thanks a lot for your help, this is what i wanted to do