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


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 — Interactive edition of hierarchical properties of graphic objects
Report an issue
<< gce handle glue >>

Copyright (c) 2022-2024 (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:
Mon Jun 17 17:49:17 CEST 2024