Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語
Справка Scilab >> Графики > handle > ged

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 — description of the graphic object editor capacities
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:26 CET 2017