<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>graycolormap</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>November 1997</DATE>
  <SHORT_DESCRIPTION name="graycolormap"> linear gray colormap</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>cmap=graycolormap(n)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>n</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: integer &gt;= 1, the colormap size.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>cmap</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: matrix with 3 columns <VERB>[R,G,B]</VERB>.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>graycolormap</VERB> computes a colormap with <VERB>n</VERB> gray colors
    varying linearly from black to white.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
xset("colormap",graycolormap(32))
plot3d1() 
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>colormap</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>hotcolormap</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>jetcolormap</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>xset</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
