フィルターのクリア

How to draw a line in a series of points

1 回表示 (過去 30 日間)
Kim
Kim 2012 年 1 月 16 日
This is image is after I did a centroid plotting. So how can I draw the line through
s = regionprops(Iskel,'centroid');
centroids = cat(1,s.Centroid);
imshow(maskedIbw)
hold on
plot(centroids(:,1),centroids(:,2),'b*')
hold off

採用された回答

Jaap
Jaap 2012 年 1 月 16 日
plot(centroids(:,1),centroids(:,2),'b-')

その他の回答 (1 件)

Kim
Kim 2012 年 1 月 16 日
plot(centroids(:,1),centroids(:,2),'LineWidth',2,'Color','green')

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by