Library: | graphic |
See also: | grxline gryline grlinreg grlinreg2 |
Macro: | grsurface | |
Description: | generates a surface plot from a 3-dimensional dataset. |
Usage: | gs = grsurface (x {, col}) | |
Input: | ||
x | n x 3 matrix | |
col | color | |
Output: | ||
gs | composed graphical object |
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)
shows a surface plot
Library: | graphic |
See also: | grxline gryline grlinreg grlinreg2 |