how to draw a line between two centroids

Antworten (1)

Stalin Samuel
Stalin Samuel am 6 Jan. 2016

0 Stimmen

x=[x1,y1] % centroid of object 1
y=[x2,y2] % centroid of object 2
plot(x,y) % connecting two centroids using line

Gefragt:

am 6 Jan. 2016

Beantwortet:

am 6 Jan. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by