Scilab Function

gr_menu - simple interactive graphic editor

Calling Sequence

[sd1]=gr_menu([sd,flag,no_frame])

Parameters

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