zlabel
Annotates the z-axis.
Syntax
handle = zlabel(str)
handle = zlabel(hAxis, str)
h = zlabel(..., property, value, ...)
Inputs
- str
- Name of the z-axis.
- hAxes
- Axis handle.
- property
- Properties that control the appearance or behavior of the graphics object.
- value
- Value of the properties.
Outputs
- h
- Handle of the label graphics object.
Examples
Simple zlabel
example.
clf;
x=[0:0.1:2*pi];
y=x;
z=sin(x')*cos(y);
s=surf(x, y, z)
handle = zlabel('this is zlabel')
Optional arguments
example:
clf;
x=[0:0.1:2*pi];
y=x;
z=sin(x')*cos(y);
s=surf(x, y, z)
handle = zlabel('this is zlabel', 'fontsize', 12, 'fontweight', 'bold')