File: gr_menu.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (41 lines) | stat: -rw-r--r-- 1,523 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
gr_menu           Scilab Group           Scilab Function            gr_menu
NAME
   gr_menu - simple interactive graphic editor
  
CALLING SEQUENCE
 [sd1]=gr_menu([sd,flag,no_frame])
PARAMETERS
 sd         : list (output of gr_menu), or vector of  length four
            [xmin,ymin,xmax,ymax] (boundaries of the plot). 
            
 sd1        : list (graphical objects created under gr_menu
            
 flag,noframe
             : integers with 0, 1 value. Use flag=1 for non interactive mode  (i.e to
            redraw saved gr_menu graphics) and no_frame=1 to  avoid a frame
            around gr_menu graphics. 
            
DESCRIPTION
   gr_menu is a simple interactive graphic editor. When you execute
  gr_menu(), three new menus, Objects,  Settings and Edit are added to the
  current graphics window. Use the item Exit of menu Edit to exit gr_menu. 
  The created graphics are saved as a list which  can be given to gr_menu
  as an entry value.
  
 [sd]=gr_menu([xmin,ymin,xmax,ymax])
                  : enters gr_menu with a given frame
                 
 [sd]=gr_menu(); : enters gr_menu with the frame [0 0 100 100].
                 
 [sd]=gr_menu(sd)
                  : redraws the graphics stored in sd and enters interactive mode
                 
 [sd]=gr_menu(sd,1)
                  : only draws the graphics stored in sd. 
                 
 [sd]=gr_menu(sd,1,1)
                  : only draws the graphics stored in sd and no frame is added. 
                 
AUTHOR
   S.S. & J.Ph.C.