/usr/share/freemat/help/text/contour.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 34 35 36 37 38 39 40 41 42 43 44 45 | CONTOUR CONTOUR Contour Plot Function
Usage
This command generates contour plots. There are several syntaxes for
the command. The simplest is
contour(Z)
which generates a contour plot of the data in matrix Z, and will
automatically select the contour levels. The x,y coordinates of the
contour default to 1:n and 1:m, where n is the number of
columns and m is the number of rows in the Z matrix. Alternately,
you can specify a scalar n
contour(Z,n)
which indicates that you want n contour levels. For more control,
you can provide a vector v containing the levels to contour. If you
want to generate a contour for a particular level, you must pass a
vector [t,t] where t is the level you want to contour. If you
have data that lies on a particular X,Y grid, you can pass either
vectors x,y or matrices X,Y to the contour function via
contour(X,Y,Z)
contour(X,Y,Z,n)
contour(X,Y,Z,v)
Each form of contour can optionally take a line spec to indicate the
color and linestyle of the contours to draw:
contour(...,linespec)
or any of the other forms of contour. Furthermore, you can supply an
axis to target the contour plot to (so that it does not get added to
the current axis, which is the default):
contour(axis_handle,...)
Finally, the contour command returns a handle to the newly returned
contour plot.
handle = contour(...)
To place labels on the contour plot, use the clabel function.
|