Plot Each nth Point

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2014년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by