Plot Each nth Point

5 views (last 30 days)
mustafa ozendi
mustafa ozendi on 26 Nov 2014
Dear All,
I have several .xyz files which are composed of points (number of points vary between 700 and 70000) with their x,y and z coordinates. I can plot all points easily using scatter3 function. However, instead of plotting all points, I want to plot each nth point that are away from each other "d" meters. I am able to plot each nth point but it provides me a nonuniform distribution as shown in the figure with black dots (blue dots represent all other points included in .xyz file). The .xyz file I am working on is attached as .txt file.
I am looking forward to hearing from you. I appreciate for helps..
Mustafa

Answers (0)

Categories

Find more on Data Distribution Plots 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!