Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Graphics Library > xclear


clears a graphics window

Calling Sequence




integer scalar or vector


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.

Function xclear is obsolete. To clear a figure, please use instead the clf function or the visible property.

See Also

  • clf — clear or reset the current graphic figure (window) to default values



<< xchange Graphics Library xdel >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 10:59:46 CET 2011