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: grxline gryline grlinreg grlinreg2

Quantlet: grsurface
Description: generates a surface plot from a 3-dimensional dataset.

Link:
Usage: gs = grsurface (x {, col})
Input:
x n x 3 matrix
col color
Output:
gs composed graphical object

Note:

Example:

library ("graphic")

x  = grid (#(-3,-3), #(0.1,0.1), #(61,61))

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

gs = grsurface (x~f)

d  = createdisplay (1,1)

show (d, 1, 1, gs)

Result:

shows a surface plot 


Library: graphic
See also: grxline gryline grlinreg grlinreg2

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