<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>getcolor</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 2004</DATE>
  <SHORT_DESCRIPTION name="getcolor"> opens a dialog to show colors in the current colormap</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>c=getcolor(title,[cini])  </CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>c=getcolor()  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>title</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: string, dialog title.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>cini</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: initial selected color id. Default value is 1.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>c</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: selected color id or [] if the user has clicked on the &quot;Cancel&quot; button.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>getcolor</VERB> opens a window displaying the palette of the current colormap. 
    The user can click on a color to show its id and RGB values.
    <VERB>getcolor</VERB> returns the id of the selected color or [] if the user has clicked
    on the &quot;Cancel&quot; button</P>
  </DESCRIPTION>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>color</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>colormap</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>getmark</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>getfont</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
