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

Group: Plot Manipulation
See also: contour2

Function: contour3
Description: contour3 computes lines and points for a contourplot of a four dimensional dataset at level c

Usage: {lt, pt} = contour3 (x, c)
Input:
x n x 4 matrix
c scalar
Output:
lt m1 x 2 line matrix
pt m2 x 3 point matrix

Note:

Example:

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
z = sort(x~f, #(1,2,3,4))
{lt,pt} = contour3(z, max(f)./2)
d = createdisplay(1,1)
show (d,1,1,pt)
Result:

You will see a ball corresponding to a contourball.

Group: Plot Manipulation
See also: 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

(C) MD*TECH Method and Data Technologies, 17.8.2000