|
FreeMat
|
Section: Handle-Based Graphics
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...)
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-');
--> view(3);
--> zlabel('time');
which results in the following plot.