From 7:00 PM CST Friday, January 24th - 7:00 PM CST Sunday, January 26th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

From 7:00 PM CST Friday, January 24th - 7:00 PM CST Sunday, January 26th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Download Help (Windows Only) |

**Owning Class: **plots

**Requires: **MathScript RT Module

contouris(z)

contouris(z, n)

contouris(z, h)

contouris(x, y, z)

contouris(x, y, z, n)

contouris(x, y, z, h)

c = contouris(z)

c = contouris(z, n)

c = contouris(z, h)

c = contouris(x, y, z)

c = contouris(x, y, z, n)

c = contouris(x, y, z, h)

Legacy Name: `contourf`

Generates a contour plot with intensity shading.

Name | Description |
---|---|

x |
Specifies the surface from z in relation to the x-plane. x is a real vector or matrix. If x is a vector, the length of x must be equal to the number of columns of z. If x is a matrix, x and z must be of the same size. |

y |
Specifies the surface from z in relation to the y-plane. y is a real vector or matrix. If y is a vector, the length of y must be equal to the number of rows of z. If y is a matrix, y and z must be of the same size. |

z |
Specifies the heights of the contour lines in relation to the z-plane. z is a matrix. |

n |
Specifies the number of contour lines you want to plot. |

h |
Specifies the height levels. h is a vector. length(h) must equal the number of contour lines you want to plot. |

Name | Description |
---|---|

c |
Returns the contour lines of the surface z. c is a real matrix with two rows. The first column of c indicates the height level, h, and the number of coordinates, k, of the contour line at that height level. The next k columns specify the x- and y-coordinates of the contour line. |

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine | No (returns error or is ignored) |

Supported on RT targets | No |

contouris(peakfcn2d(50))

Helpful

Not Helpful