close グラフィックフィギュア,進行バーまたは待機バー,ヘルプブラウザ,xcos,browsevar,またはeditvarを閉じます

## Syntax

                close
                close(H)
                close help
                close xcos
                close xcos!
                close editvar
                close browsevar

## 引数

H

  Vector of graphic figures handles or ids, or of handles of progression bar or wait bar.

## 説明

close closes the current graphic figure (if any).

close(H) closes the figures, waitbar or progression bars whose handles or indices are in `H`.

close help closes the help browser.

close browsevar closes the variable browser.

close editvar closes the variable editor (it must not be docked).

close xcos closes all opened xcos windows. If some diagrams have unsaved changes, the user is asked for confirmation.

close xcos! forces closing all opened xcos windows without asking for any confirmation.

## 例

    h=figure();
    // 1番の図を作成
    uicontrol( h, 'style','text', ...
                  'string','scilab is great', ...
                  'position',[50 70 100 100], ...
                  'fontsize',15);
    // 図1に冴えた文字列を指定
    figure();
    // 図2を作成
    uicontrol( 'style','text', ...
               'string','Really great', 'position',[50 70 100 100], 'fontsize',15);
    // 図2にテキストを指定
    close();
    // カレントのグラフィックウインドウ(すなわち図2)を閉じる
    close(h);
    // 図1を閉じる

    // Create and close several figures in a once:
    scf(111); plot
    scf(25); plot2d
    gcf().figure_position(1) = 500;
    scf(200); param3d
    gcf().figure_position(1) = 700;
    sleep(5000);         // Watch at them!
    close([25 200 111])  // Finished!

    // You are reading this example in the help browser. Now, bye:
    close help

    xcos
    sleep(5000)
    close xcos

    browsevar
    sleep(5000)
    close browsevar

    a = rand(3,5);
    editvar a
    sleep(5000)
    close editvar

## 参照

- delete
- exit
- mclose
- h5close

## 履歴

6.1.1

- Vector of several figures ids now accepted.
- Extension to `close help`, `close xcos`, `close xcos!`, `close browsevar`, and `close editvar`