How to remove the selected points and plot into a new figure?
Show older comments
Hello, how can I remove the points marked with a black line and then plot on a new figure? Ps. The points chosen using ransac. Thank you

Answers (1)
darova
on 14 May 2020
use logical operators
ix = x < 0 & y > 0;
scatter(x(~ix),y(~ix))
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!