clears a graphics window.
xbasc([window-id])
integer scalar or vector
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.
Version | Description |
5.2.2 | xbasc was published up to Scilab 5.2.2.
It is replaced with clf. |