<< plot2d1 graphics profiling >>

removed >> removed > 5-5-2 > graphics > xclear

xclear

clears a graphics window

Calling Sequence

xclear([window-id])

Arguments

window-id

an integer scalar or vector.

Description

Without any argument, this function clears the current graphic figure by turning its visibility to 'off'. Otherwise it clears the graphics figures whose numbers are included in the vector window-id. For example xclear(1:3) clears windows 1, 2 and 3. If one of the windows does not exist, then it is automatically created.

Examples

plot2d();
scf();
plot3d();
xclear(0); // clear the first graphic
xclear(); // clear the current figure

See Also

History

VersionDescription
5.5.2 xclear was removed after Scilab 5.5.2. clf supersedes it.

Report an issue
<< plot2d1 graphics profiling >>