ZLABEL Plot Z-axis Label Function

Section: Handle-Based Graphics

Usage

This command adds a label to the z-axis of the plot. The general syntax for its use is
  zlabel('label')

or in the alternate form

  zlabel 'label'

or simply

  zlabel label

Here label is a string variable. You can also specify properties for that label using the syntax

  zlabel('label',properties...) 

Example

Here is an example of a simple plot with a label on the z-axis.
--> t = linspace(0,5*pi);
--> x = cos(t);
--> y = sin(t);
--> z = t;
--> plot3(x,y,z,'r-');
Warning: Newly defined variable xlim shadows a function of the same name.  Use clear xlim to recover access to the function
Warning: Newly defined variable ylim shadows a function of the same name.  Use clear ylim to recover access to the function
Warning: Newly defined variable zlim shadows a function of the same name.  Use clear zlim to recover access to the function
--> view(3);
Warning: Newly defined variable xlim shadows a function of the same name.  Use clear xlim to recover access to the function
Warning: Newly defined variable ylim shadows a function of the same name.  Use clear ylim to recover access to the function
Warning: Newly defined variable zlim shadows a function of the same name.  Use clear zlim to recover access to the function
--> zlabel('time');

which results in the following plot.