How to plot a graph in matlab2015 on given points.

I have an array or list like
s1=[216 46; 176 127; 227 131; 256 170; 176 187; 285 215; 169 233];
of some points of an image. I want to generate a graph or connect each point with other one. What function i use to do the above task.

2 Comments

Each point with the neighboring point, or all points with each other?
All points with each other. Also the neighboring too.

Sign in to comment.

Asked:

on 15 Nov 2017

Answered:

on 21 Nov 2017

Community Treasure Hunt

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

Start Hunting!