<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>gr_menu</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="gr_menu"> simple interactive graphic editor</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[sd1]=gr_menu([sd,flag,no_frame])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>sd</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: list (output of <VERB>gr_menu</VERB>), or vector of  length four <VERB>[xmin,ymin,xmax,ymax]</VERB> (boundaries of the plot).</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>sd1</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: list (graphical objects created under <VERB>gr_menu</VERB></SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>flag,noframe</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: integers with 0, 1 value. Use <VERB>flag=1</VERB> for non interactive mode  (i.e to redraw saved <VERB>gr_menu</VERB> graphics) and <VERB>no_frame=1</VERB> to  avoid a frame around <VERB>gr_menu</VERB> graphics.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>gr_menu</VERB> is a simple interactive graphic editor.
    When you execute <VERB>gr_menu()</VERB>, three new menus, <VERB>Objects</VERB>, 
    <VERB>Settings</VERB> and <VERB>Edit</VERB> are added to the current graphics window.
    Use the item <VERB>Exit</VERB> of menu <VERB>Edit</VERB> to exit <VERB>gr_menu</VERB>.
  </P>
    <P>
    The created graphics are saved as a list which 
    can be given to <VERB>gr_menu</VERB> as an entry value.
  </P>
    <DESCRIPTION_INDENT>
      <DESCRIPTION_ITEM label="[sd]=gr_menu([xmin,ymin,xmax,ymax])">
        <SP>: enters <VERB>gr_menu</VERB> with a given frame</SP>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="[sd]=gr_menu();">
        <SP>: enters <VERB>gr_menu</VERB> with the frame [0 0 100 100].</SP>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="[sd]=gr_menu(sd)">
        <SP>: redraws the graphics stored in sd and enters interactive mode</SP>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="[sd]=gr_menu(sd,1)">
        <SP>: only draws the graphics stored in <VERB>sd</VERB>.</SP>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="[sd]=gr_menu(sd,1,1)">
        <SP>: only draws the graphics stored in <VERB>sd</VERB> and no frame is added.</SP>
      </DESCRIPTION_ITEM>
    </DESCRIPTION_INDENT>
  </DESCRIPTION>
  <AUTHOR>S.S. &amp; J.Ph.C.; ; ; ; ;   </AUTHOR>
</MAN>
