/usr/share/freemat/help/text/surf.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | SURF SURF Surface Plot Function
Usage
This routine is used to create a surface plot of data. A
surface plot is a 3D surface defined by the xyz coordinates
of its vertices and optionally by the color at the vertices.
The most general syntax for the surf function is
h = surf(X,Y,Z,C,properties...)
Where X is a matrix or vector of x coordinates, Y is a
matrix or vector of y coordinates, Z is a 2D matrix of
coordinates, and C is a 2D matrix of color values (the colormap
for the current fig is applied). In general, X and Y should
be the same size as Z, but FreeMat will expand vectors to match
the matrix if possible.
If you want the color of the surface to be defined by the height
of the surface, you can omit C
h = surf(X,Y,Z,properties...)
in which case C=Z. You can also eliminate the X and Y
matrices in the specification
h = surf(Z,properties)
in which case they are set to 1:size(Z,2) and 1:size(Y,2)
respectively.
You can also specify a handle as the target of the surf command
via
h = surf(handle,...)
|