How to remove the selected points and plot into a new figure?

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

Réponses (1)

use logical operators
ix = x < 0 & y > 0;
scatter(x(~ix),y(~ix))

Catégories

En savoir plus sur Graphics Objects dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by