contour

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Make a contour map of any davinci data array. It is especially useful for mola elevation data.

Arguments and Return Values

Input: Any numeric array

Output: A numeric array of contours of the same dimensions as the input with contours of a multiplicative of the interval value

Usage

Syntax: contour(data = VAL[, interval = VAL] [, zero = VAL])

  data      - Any numerical array.
  interval  - Contour interval. Default is 10.
  zero      - the zero level (or "sea level") of the numerical array. Default is 0.

Examples

dv> mola
1037x1185x1 array of short, bsq format [2,457,690 bytes]

dv> contour  = contour(mola, 200)
1037x1185x1 array of float, bsq format [4,915,380 bytes]

Images

elevation.png contour.png

Grayscale elevation and contour images

colorelevation.png colorcontour.png

Colorized elevation and contour images using colorize()

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools