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 grcontour2 grsunflower contour3

Quantlet: grcontour3
Description: generates a contour plot from a 4-dimensional dataset x.

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

Example:
library("graphic")
x  = grid(-#(3,3,3), #(0.5,0.5,0.5), #(13,13,13))
f  = exp(-0.5.*sum(x^2,2))./(2.*pi)^1.5
c  = #(0.25, 0.5, 0.75).*max(f)
gs = grcontour3(x~f, c)
d  = createdisplay(1,1)
show(d, 1, 1, gs)

Result:
shows a contour plot



Author: S. Klinke, 19961022
(C) MD*TECH Method and Data Technologies, 05.02.2006