ged Scilab Graphic Editor

## Syntax

    ged(action, fignum)

## Arguments

action

  Real: action to be executed on graphic window given by `fignum`:

  - 1: Select window `fignum` as current figure.

  - 2: Redraw window `fignum`.

  - 3: Clear window `fignum`.

  - 4: Ask the user to select a graphic entity to copy.

  - 5: Paste last graphic entity copied using action `4`.

  - 6: Ask the user to select a graphic entity and then move it.

  - 7: Ask the user to select the graphic entity to delete.

  - 8: Start a GUI to edit window properties.

  - 9: Start a GUI to edit current axes properties.

  - 10: Start an entity picker to select a graphic object and edit it using Graphic Editor GUI.

  - 11: Stop the entity picker.

fignum

  Real: Graphic window number, the figure to edit.

## Description

The Scilab Graphic Editor is the underlying Scilab function for the graphic object editor, the visual tool available from the graphics windows Edit menu. `ged()` is of limited use by itself (most the functionalities are available from other functions), and is only present to ensure that all Object Editor functionalities are also available in the Scilab language.

`ged()` starts Scilab Graphic Editor on figure number `fignum` and execute action given by `action`.

Note that, the Scilab Graphic Editor is implemented using the Tcl/Tk language; it is not available on MacOS, where Tcl/TK is not available.

## Examples

    // Moving a curve
    scf(0);
    plot2d();
    ged(6,0) // Then click on a curve and try moving it

## See also

- object editor