Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
Aide de Scilab >> Graphiques > 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 des capacités de l'éditeur graphique

Comments

Author : Samuel Gougeon posted the 24/03/2013 19:46
ged(1,#) est inutile : doublon de scf(#)
ged(2,#) est obsolete : la fonction xbasr() qui faisait la même chose a été retirée.
ged(3,#) est inutile : doublon de clf(#), plus puissante.
ged(6,#) est aussi utile que malheureusement limitée (plusieurs rapports sur bugzilla)
ged(
4: Ask the user to select a graphic entity to copy.
6: Ask the user to select a graphic entity and then move it.
7: Ask the user to select the graphic entity to delete.
10: Start an entity picker to select a graphic object and edit it using Graphic Editor GUI.
)
=> la possibilité de filtrer le type d'objet sélectionnable serait utile (3ème paramètre d'appel)
ged(
8: Start a GUI to edit window properties.
9: Start a GUI to edit current axes properties.
)
=> généraliser le ciblage à n'importe quel élément graphique dont le handle serait donné
en 2ème paramètre d'entrée

Reply to this comment
Please login to comment this page


Add a comment:
Please login to comment this page.

Report an issue
<< gce handle get_figure_handle >>

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:15:32 CET 2018