Prev: legend title
Next: MATLAB CODE to DSK C6713
From: Steven Lord on 24 Mar 2010 22:34 "Sujit " <kirpekar(a)gmail.com> wrote in message news:hodo49$t4u$1(a)fred.mathworks.com... > How can I quickly convert contours to polygons? i.e. How can I quickly > extract all polygons (x and y) from C, where [C,g] = contour(Z); ? > > The structure of C looks complicated -- anyone have something handy? The structure of the contour matrix isn't that complicated. It's described in the documentation for CONTOURC: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/contourc.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ |