如何使用 MATLAB 识别图中直线下方的点?

how to identify the points below a line in a graph using MATLAB?

在 运行 程序之后,我得到了 loglik 的 14 个值,然后我将这些值绘制在两行内。代码如下:

loglik=[-3168.7176,-4644.451,-3759.7372,-1758.1307,-4813.0647,-4147.0188,...
        -4330.944,-4612.9895,-3829.8987,-2687.4927,...
        -4007.5629,-2799.527,-2747.96,4.386];
aH = axes;
plot(aH,loglik,'r.'); hold on;
threshold1=mean(loglik)+1*std(loglik);
threshold2=mean(loglik)+3*std(loglik);
plot(aH, aH.XLim, [threshold2, threshold2], 'r-');
plot(aH, aH.XLim, [threshold1, threshold1], 'r-');

现在,我想确定 threshold1 以下的点。我该怎么做?

这将在视觉上区分点 above\below threshhold1:

plot(aH,loglik(loglik>=threshold1),'r.');
hold on;
plot(aH,loglik(loglik<threshold1),'b.');

threshhold1 以上(或等于)的点为红色,以下为蓝色。