【error】Input arguments for contourc must be of type ‘double’

contourc – Low-level contour plot computation

C = contourc(Z)

computes the contour matrix from data in matrix Z, where Z must be at least a 2-by-2 matrix. The contours are isolines(等值线) in the units of Z. The number of contour lines and the corresponding values of the contour lines are chosen automatically.

  • C is a two-row matrix specifying all the contour lines.
  • Each contour line defined in matrix C begins with a column that contains the value of the contour (specified by v and used by clabel), and the number of (x,y) vertices in the contour line.
  • The remaining columns contain the data for the(x,y) pairs.
C = [value1 xdata(1) xdata(2) ... xdata(dim1) value2 xdata(1) xdata(2) ... xdata(dim2)...
			dim1 ydata(1) ydata(2) ... ydata(dim1) dim2 ydata(1) ydata(2) ... ydata(dim2)];

Specifying irregularly spaced x and y vectors is not the same as contouring irregularly spaced data. If x or y is irregularly spaced, contourc calculates contours using a regularly spaced contour grid, then transforms the data to x or y.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Just another WordPress.com site

Jing's Blog

Just another WordPress.com site

Start from here......







Just another WordPress.com site

Where On Earth Is Waldo?

A Project By Melanie Coles

the Serious Computer Vision Blog

A blog about computer vision and serious stuff

Cauthy's Blog

paper review...

Cornell Computer Vision Seminar Blog

Blog for CS 7670 - Special Topics in Computer Vision


Life through nerd-colored glasses

Luciana Haill

Brainwaves Augmenting Consciousness



Dr Paul Tennent

and the university of nottingham

turn off the lights, please

A bunch of random, thinned and stateless thoughts around the Web

%d bloggers like this: