<< bone Graphics functions clf >>

cla


Clear axes.


Syntax


cla
cla(ax)
ca = cla(...)

Input argument


ax

a scalar graphics object on an existing axes.

Output argument


ca

a graphics object: used axes graphics object.

Description


cla clears the current axes.

Example


f = figure();
x = linspace(0, 2*pi);
y = sin(3 * x);
plot(x, y)
sleep(5)
cla

See also


gca, clf.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< bone Graphics functions clf >>