Borrar filtros
Borrar filtros

How to draw a line in a series of points

3 visualizaciones (últimos 30 días)
Kim
Kim el 16 de En. de 2012
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

Respuesta aceptada

Jaap
Jaap el 16 de En. de 2012
plot(centroids(:,1),centroids(:,2),'b-')

Más respuestas (1)

Kim
Kim el 16 de En. de 2012
plot(centroids(:,1),centroids(:,2),'LineWidth',2,'Color','green')

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by