arranging an array to plot a polygon

Hi, so I have converted an SVG image file (a simple 2D circle) into a set of data in 4 arrays, [x1,y1] [x2,y2]
So the arrangement of the array should be from x1 -> x2 where x2 is x1 in the next row. But for some reason its not, how can i arrange my array or maybe connect the line segments to form a perfect circle instead of the figure I've added. Thanks. http://postimg.org/image/v8wr60d6d/

Answers (0)

Products

Asked:

on 7 Aug 2013

Community Treasure Hunt

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

Start Hunting!