Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grlinreg2 grsurface grcontour3 contour2

Quantlet: grcontour2
Description: Generates a contour plot from a 3-dimensional dataset x.

Link:
Usage: gs = grcontour2 (x, c, {, col})
Input:
x n x 3 matrix
c m x 1 vector
col m x 1 color
Output:
gs composed graphical object

Example:

library ("graphic")

x  = grid (#(-3,-3), #(0.25,0.25), #(25,25))

f  = exp(-0.5.*(x[,1]^2+x[,2]^2))./(2.*pi)

c  = (1:9).*max(f)./10

gs = grcontour2 (x~f, c)

d  = createdisplay (1,1)

show (d, 1, 1, gs)

Result:

shows a contour plot 


Library: graphic
See also: grlinreg2 grsurface grcontour3 contour2

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Sigbert Klinke, 961001
(C) MD*TECH Method and Data Technologies, 21.9.2000