xdel delete a graphics window (obsolete)

## Syntax

                xdel()
                xdel(win_nums)

## Arguments

win_nums

  an integer scalar or vector.

## Description

xdel(…) is obsolete and will be removed from Scilab 6.2. Please use close(…) instead.

`xdel` deletes the graphics windows whose numbers are included in the vector `win_nums` or the current graphics window if no argument is given.

## Examples

    plot2d();
    scf();
    plot3d();
    xdel(0); // delete the first graphic
    xdel(); // delete the current figure

## See also

- close
- delete
- winsid

## History

6.1.1 xdel() declared obsolete. close() replaces it.