<< x_message_modeless 5-2 5-3 >>
removed >> removed > 5-2 > xbasc

xbasc

clears a graphics window.

Calling Sequence

xbasc()
xbasc(window_id)

Parameters

window_id

integer scalar or vector

Description

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.

See Also

History

VersionDescription
5.2.2 xbasc was published up to Scilab 5.2.2. It is replaced with clf.

<< x_message_modeless 5-2 5-3 >>