<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>gdf</TITLE>
  <TYPE>Scilab Function  </TYPE>
  <DATE>13-Jan-2003</DATE>
  <SHORT_DESCRIPTION name="sdf"> Set default figure. </SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
  <CALLING_SEQUENCE_ITEM>sdf()</CALLING_SEQUENCE_ITEM>
  <CALLING_SEQUENCE_ITEM>f = gdf(); set(f,"default_values",1) </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
  <PARAM_INDENT>

    <PARAM_ITEM>
    <PARAM_NAME>f</PARAM_NAME>
    <PARAM_DESCRIPTION>
       <SP>: handle, the handle of the default figure.</SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>
  </PARAM_INDENT>
  </PARAM>
 
  <DESCRIPTION>
  <P>
   This routine resets the figure's model to default values.
   </P>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[
   
   x=[0:0.1:2*%pi]';
   set old_style off
   f=get("default_figure"); // get the handle of the model figure 
   a=get("default_axes"); // get the handle of the model axes 
     // setting its' properties
   f.background=4;
   f.auto_resize="off";
   f.figure_size=[400 300];
   f.axes_size=[600 400];
   f.figure_position=[0 -1];
   a.x_location="top";
   a.y_location="left";
   for (i=1:6)
     xset("window",i) // create a figure with the identifier i
     plot2d(x,[sin(x) cos(x)],[i -i])
     xclick();
     if i == 4, sdf(); end // return to the  default values of the figure's model
    end
    
  ]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM> <LINK>sda</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK>gdf</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK>gda</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK>set</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK>graphics_entities</LINK> </SEE_ALSO_ITEM>
  </SEE_ALSO>

  <AUTHOR>
    Djalel ABDEMOUCHE
  </AUTHOR>
</MAN>
