File: edit_curv.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (47 lines) | stat: -rw-r--r-- 1,413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

edit_curv(2)                   Scilab Function                   edit_curv(2)
NAME
  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)

PARAMETERS

  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 fix the new position

AUTHOR
  Serge Steer