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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Graphics > interaction > edit_curv

edit_curv

interactive graphic curve editor

Calling Sequence

[x,y,ok,gc] = edit_curv(y)
[x,y,ok,gc] = edit_curv(x,y)
[x,y,ok,gc] = edit_curv(x,y,job)
[x,y,ok,gc] = edit_curv(x,y,job,tit)
[x,y,ok,gc] = edit_curv(x,y,job,tit,gc)

Arguments

x

vector of x coordinates

y

vector of y coordinates

job

a character string formed by one to three of the characters 'a','x','y'

'a'

to add points to the edited curve

'x'

to modify x coordinates of the edited curve points

'y'

to modify y coordinates of the edited curve points

tit

a vector of three character strings which give the curve legend

gc

a list of graphic window parameters: gc=list(rect,nax)

rect

bounds of the graphics (see plot2d for details)

nax

graduation parameters (see plot2d for details)

ok

indicator if ok==%t user as returned with 'ok' menu else user as returned with 'abort' menu : list (graphical objects created under edit_curv

Description

edit_curv is an interactive graphic curve editor. To add a new point simply click at the desired location, the added point will be connected to the nearest end-point. to move a point click on it, drag the mouse to the new position and click to set the new position

Report an issue
<< dragrect interaction event handler functions >>

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:
Wed Apr 01 10:13:57 CEST 2015