Code covered by the BSD License  

Highlights from
Extract contour data from contour matrix C

4.5

4.5 | 2 ratings Rate this file 31 Downloads (last 30 days) File Size: 1.88 KB File ID: #38863

Extract contour data from contour matrix C

by

 

Extract contour data created by CONTOUR, CONTOURF, CONTOUR3, and CONTOURC.

| Watch this File

File Information
Description

CONTOURDATA Extract Contour Data from Contour Matrix C.
CONTOUR, CONTOURF, CONTOUR3, and CONTOURC all produce a contour matrix
C that is traditionally used by CLABEL for creating contour labels.
S = CONTOURDATA(C) extracts the (x,y) data pairs describing each contour
line and other data from the contour matrix C. The vector array structure
S returned has the following fields:
S(k).level contains the contour level height of the k-th line.
S(k).numel contains the number of points describing the k-th line.
S(k).isopen is True if the k-th contour is open and False if it is closed.
S(k).xdata contains the x-axis data for the k-th line as a column vector.
S(k).ydata contains the y-axis data for the k-th line as a column vector.

Required Products MATLAB
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
18 Mar 2014 Giorgos Papakonstantinou  
15 Jul 2013 Ahmed  

Contact us