How to obtain data which fall outside the limits of the scatter plots?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a set of data in a scattered diagram and I need to put limits to it. I want to collect values which lie outside the plot. Is there any code for that?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164906/image.png)
0 件のコメント
採用された回答
dpb
2017 年 6 月 6 日
If the red line is computed at the same points as the other data, then simply
ix=ltbluepoints>redpoints; % logical vector of those exceeding the redline
ptsOver=ltbluepoints(ix); % and the values associated
"ltbluepoints" and "redpoints" are the variables you've used for those two portions of the figure.
0 件のコメント
その他の回答 (1 件)
Steven Lord
2017 年 6 月 6 日
You may be able to use the isoutlier function to identify those points with values that are too large.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!