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?
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!