home *** CD-ROM | disk | FTP | other *** search
- function zlabel(string)
- %ZLABEL Z-axis labels for 3-D plots.
- % ZLABEL('text') adds text above the Z-axis on the current axis.
- %
- % See also XLABEL, YLABEL, TITLE, TEXT.
-
- % Copyright (c) 1984-93 by The MathWorks, Inc.
-
- h = get(gca,'zlabel');
- if isempty(h)
- h = text;
- set(gca,'zlabel',h);
- end
- set(h,'string',string);
-
-