xbasc — clears a graphics window.
xbasc([window-id])
Without any argument, this function clears the current graphic figure by deleting all its children.
Otherwise it clears the graphic figures whose ids are included
in the vector window-id. For example
xbasc(1:3) clears windows 1, 2 and 3. If one of the windows does not
exist, then it is automatically created.
xbasc function delete every children of specified windows including
menus and uicontrols added by user.
To prevent menus and uicontrols from being deleted, the delete(gca()) command
might be used instead.
The xbasc function is obsolete and will be removed in Scilab 5.3.
To erase a figure, please use instead the clf or delete functions.