在Matlab中找到轮廓方程

时间:2013-07-24 20:07:05

标签: matlab plot equation contour

我有一个由Matlab生成的等高线图。我想知道轮廓函数绘制的轮廓之一的等式。

有一种简单的方法吗?

感谢。

P.S。我是新来的,所以该网站没有让我附上图片文件,说我需要足够的声誉来发布图片!

1 个答案:

答案 0 :(得分:0)

来自doc contour

[C,H] = CONTOUR(...) returns contour matrix C as described in CONTOURC
and a handle H to a contourgroup object.  This handle can be used as
input to CLABEL.

来自contourc

The contour matrix C is a two row matrix of contour lines. Each
contiguous drawing segment contains the value of the contour, 
the number of (x,y) drawing pairs, and the pairs themselves.  
The segments are appended end-to-end as

    C = [level1 x1 x2 x3 ... level2 x2 x2 x3 ...;
         pairs1 y1 y2 y3 ... pairs2 y2 y2 y3 ...]