<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>colordef</TITLE>
  <TYPE>Scilab Function  </TYPE>
  <DATE>9-Jun-2005</DATE>
  <SHORT_DESCRIPTION name="colordef">Set default color values to display different color schemes</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
  <CALLING_SEQUENCE_ITEM>colordef(color_scheme)</CALLING_SEQUENCE_ITEM>
  <CALLING_SEQUENCE_ITEM>colordef(f,color_scheme)</CALLING_SEQUENCE_ITEM>
  <CALLING_SEQUENCE_ITEM>colordef('new',color_scheme)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
  <PARAM_INDENT>

    <PARAM_ITEM>
    <PARAM_NAME>color_scheme</PARAM_NAME>
    <PARAM_DESCRIPTION>
       <SP>
       : a character string with possible value: 'white', 'black','none'
       </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>f</PARAM_NAME>
    <PARAM_DESCRIPTION>
       <SP>
       : a handle on a graphic figure
       </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>
  </PARAM_INDENT>
  </PARAM>
 
  <DESCRIPTION>
     <DESCRIPTION_INDENT>
     <DESCRIPTION_ITEM>
     <SP><VERB>colordef('white')</VERB> sets the default figure (see
	  <LINK>gdf</LINK>) colormap to <VERB>jetcolormap(64)</VERB>, the
	    default figure background color to
	  light gray and the default axes (see <LINK>gda</LINK>) background
	  color to white, the axes lines foreground and font color to black.</SP> 
     </DESCRIPTION_ITEM>
     <DESCRIPTION_ITEM>
     <SP><VERB>colordef('black')</VERB> sets the default figure (see
	  <LINK>gdf</LINK>) colormap to <VERB>jetcolormap(64)</VERB>, the
	    default figure  background color to dark gray and the default axes
	  (see <LINK>gda</LINK>) background color to black, the axes lines
	  foreground and font color to white.</SP> 
     </DESCRIPTION_ITEM>
    <DESCRIPTION_ITEM>
     <SP><VERB>colordef('none')</VERB> sets the default figure (see
	  <LINK>gdf</LINK>)  colormap to <VERB>hsvcolormap(64)</VERB>, the
	    default figure  background color to dark gray and the default axes
	  (see <LINK>gda</LINK>) background color to black, the axes lines
	  foreground and font color to white.</SP> 
     </DESCRIPTION_ITEM>
    <DESCRIPTION_ITEM>
     <SP><VERB>colordef(f,color_scheme)</VERB> sets the color  properties of  figure given by the
	handle <VERB>f</VERB> as well as the color properties of its current axes.</SP> 
     </DESCRIPTION_ITEM>
   <DESCRIPTION_ITEM>
     <SP><VERB>colordef('new',color_scheme)</VERB> creates a new graphic window
	and its color properties as well as the properties of its  axes.</SP> 
     </DESCRIPTION_ITEM>
     </DESCRIPTION_INDENT>

  </DESCRIPTION>

  <EXAMPLE><![CDATA[
   // Add here scilab instructions and comments
  ]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM> <LINK> gdf</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> gda</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> figure_properties</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> axes_properties</LINK> </SEE_ALSO_ITEM>

  </SEE_ALSO>

  <AUTHORS>
    <AUTHORS_ITEM label='S. Steer'>
       INRIA
    </AUTHORS_ITEM>
  </AUTHORS>
</MAN>
