I am basically plotting several million data points with help of scatterplot. here I am doing
scatter(x(1:end-1), y(1:end-1),5, z)
Now is possible to select
Depends on how you want to select an area.
most generally you could go if you mark the area with ginput
and locate the points using inpolygon
(look at doc inpolygon
- has a very nice example)
If you just want to select an rectangle it's probably best if you write your own function - but that is trivial.