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: grsurface grcube axesoff

Macro: graxes3d
Description: Generates a 3-D axes with descriptions.

Usage: axes=graxes3d(x,description)
Input:
x n x 3 matrix
description 1 x 3 vector containing the description of the axes
Output:
axes graphical object containing the axes

Example:
library("graphic")
m  = matrix(3)* 5
form = "%.2f" | "%.2f" | "%.3f"
x  = grid (#(-3,-3), #(0.12,0.12), #(31,31)) 
f  = exp(-0.5.*(x[,1]^2+x[,2]^2))./(2.*pi) 
gc = grcube(x~f,m,form)
gs = grsurface(x~f) 
axes=graxes3d(x~f,"x-axis"|"y-axis"|"z-axis") 
di = createdisplay(1,1)
axesoff()  
show(di,1,1,gs,gc.box,gc.x,gc.y,gc.z,gc.c,axes)       
Result:

Library: graphic
See also: grsurface grcube axesoff

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: zh 2000-05-23
(C) MD*TECH Method and Data Technologies, 17.8.2000