No image generated 96/8496/3
Sylvestre Ledru [Thu, 2 Aug 2012 13:48:45 +0000 (15:48 +0200)]
Change-Id: Ic9efac883e6646fe39c2624268a903c515ee906c

scilab/modules/graphics/help/en_US/color_management/colordef.xml
scilab/modules/graphics/help/en_US/color_management/name2rgb.xml

index d5ac916..42ab0b5 100644 (file)
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
- * are also available at    
+ * are also available at
  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
  *
  -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" version="5.0-subset Scilab" xml:lang="en" xml:id="colordef">
-  <refnamediv>
-    <refname>colordef</refname>
-    <refpurpose>Set default color values to display different color schemes</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Calling Sequence</title>
-    <synopsis>colordef(color_scheme)
-      colordef(f,color_scheme)
-      colordef('new',color_scheme)
-    </synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Arguments</title>
-    <variablelist>
-      <varlistentry>
-        <term>color_scheme</term>
-        <listitem>
-          <para>a character string with possible value: 'white', 'black','none'
-          </para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>f</term>
-        <listitem>
-          <para>a handle on a graphic figure
-          </para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsection>
-  <refsection>
-    <title>Description</title>
-    <itemizedlist>
-      <listitem>
-        <para>
-          <literal>colordef('white')</literal> sets the default figure (see
-          <link linkend="gdf">gdf</link>) colormap to <literal>jetcolormap(64)</literal>, the
-          default figure background color to
-          light gray and the default axes (see <link linkend="gda">gda</link>) background
-          color to white, the axes lines foreground and font color to black.
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          <literal>colordef('black')</literal> sets the default figure (see
-          <link linkend="gdf">gdf</link>) colormap to <literal>jetcolormap(64)</literal>, the
-          default figure  background color to dark gray and the default axes
-          (see <link linkend="gda">gda</link>) background color to black, the axes lines
-          foreground and font color to white.
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          <literal>colordef('none')</literal> sets the default figure (see
-          <link linkend="gdf">gdf</link>)  colormap to <literal>hsvcolormap(64)</literal>, the
-          default figure  background color to dark gray and the default axes
-          (see <link linkend="gda">gda</link>) background color to black, the axes lines
-          foreground and font color to white.
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          <literal>colordef(f,color_scheme)</literal> sets the color  properties of  figure given by the
-          handle <literal>f</literal> as well as the color properties of its current axes.
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          <literal>colordef('new',color_scheme)</literal> creates a new graphic window
-          and its color properties as well as the properties of its  axes.
-        </para>
-      </listitem>
-    </itemizedlist>
-  </refsection>
-  <refsection>
-    <title>Sample</title>
-    <scilab:image> 
-    </scilab:image>
-  </refsection>
-  <refsection>
-    <title>Examples</title>
-    <programlisting role="example"><![CDATA[ 
+    <refnamediv>
+        <refname>colordef</refname>
+        <refpurpose>Set default color values to display different color schemes</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>colordef(color_scheme)
+            colordef(f,color_scheme)
+            colordef('new',color_scheme)
+        </synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>color_scheme</term>
+                <listitem>
+                    <para>a character string with possible value: 'white', 'black','none'
+                    </para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>f</term>
+                <listitem>
+                    <para>a handle on a graphic figure
+                    </para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <literal>colordef('white')</literal> sets the default figure (see
+                    <link linkend="gdf">gdf</link>) colormap to <literal>jetcolormap(64)</literal>, the
+                    default figure background color to
+                    light gray and the default axes (see <link linkend="gda">gda</link>) background
+                    color to white, the axes lines foreground and font color to black.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>colordef('black')</literal> sets the default figure (see
+                    <link linkend="gdf">gdf</link>) colormap to <literal>jetcolormap(64)</literal>, the
+                    default figure  background color to dark gray and the default axes
+                    (see <link linkend="gda">gda</link>) background color to black, the axes lines
+                    foreground and font color to white.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>colordef('none')</literal> sets the default figure (see
+                    <link linkend="gdf">gdf</link>)  colormap to <literal>hsvcolormap(64)</literal>, the
+                    default figure  background color to dark gray and the default axes
+                    (see <link linkend="gda">gda</link>) background color to black, the axes lines
+                    foreground and font color to white.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>colordef(f,color_scheme)</literal> sets the color  properties of  figure given by the
+                    handle <literal>f</literal> as well as the color properties of its current axes.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>colordef('new',color_scheme)</literal> creates a new graphic window
+                    and its color properties as well as the properties of its  axes.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
  ]]></programlisting>
-  </refsection>
-  <refsection role="see also">
-    <title>See Also</title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="gdf"> gdf</link>
-      </member>
-      <member>
-        <link linkend="gda"> gda</link>
-      </member>
-      <member>
-        <link linkend="figure_properties"> figure_properties</link>
-      </member>
-      <member>
-        <link linkend="axes_properties"> axes_properties</link>
-      </member>
-    </simplelist>
-  </refsection>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="gdf"> gdf</link>
+            </member>
+            <member>
+                <link linkend="gda"> gda</link>
+            </member>
+            <member>
+                <link linkend="figure_properties"> figure_properties</link>
+            </member>
+            <member>
+                <link linkend="axes_properties"> axes_properties</link>
+            </member>
+        </simplelist>
+    </refsection>
 </refentry>
index b426850..f420dc9 100644 (file)
  *
  -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" version="5.0-subset Scilab" xml:lang="en" xml:id="name2rgb">
-  <refnamediv>
-    <refname>name2rgb</refname>
-    <refpurpose> returns the RGB values of a named color</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Calling Sequence</title>
-    <synopsis>rgb=name2rgb(name)</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Arguments</title>
-    <variablelist>
-      <varlistentry>
-        <term>name</term>
-        <listitem>
-          <para>name of the color.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>rgb</term>
-        <listitem>
-          <para>vector of RGB integer values of a color.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsection>
-  <refsection>
-    <title>Description</title>
-    <para>
-      <literal>name2rgb</literal> returns the RGB values of a color given by its name. The result is
-      a vector <literal>[r,g,b]</literal> where <literal>r</literal>, <literal>g</literal> and <literal>b</literal> are integers between 0 and 255
-      corresponding to colors components red, green and blue. As usual 0 means no intensity and 
-      255 means all the intensity of the color.
-    </para>
-    <para>
-      If no color is found <literal>[]</literal> is returned.
-    </para>
-    <para>
-      The list of all known colors is given by <link linkend="color_list">color_list</link>.
-    </para>
-  </refsection>
-  <refsection>
-    <title>Sample</title>
-    <scilab:image> 
-      rgb=name2rgb("gold")
-      rgb2name(rgb)
-    </scilab:image>
-  </refsection>
-  <refsection>
-    <title>Examples</title>
-    <programlisting role="example"><![CDATA[ 
+    <refnamediv>
+        <refname>name2rgb</refname>
+        <refpurpose> returns the RGB values of a named color</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>rgb=name2rgb(name)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>name</term>
+                <listitem>
+                    <para>name of the color.</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>rgb</term>
+                <listitem>
+                    <para>vector of RGB integer values of a color.</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            <literal>name2rgb</literal> returns the RGB values of a color given by its name. The result is
+            a vector <literal>[r,g,b]</literal> where <literal>r</literal>, <literal>g</literal> and <literal>b</literal> are integers between 0 and 255
+            corresponding to colors components red, green and blue. As usual 0 means no intensity and 
+            255 means all the intensity of the color.
+        </para>
+        <para>
+            If no color is found <literal>[]</literal> is returned.
+        </para>
+        <para>
+            The list of all known colors is given by <link linkend="color_list">color_list</link>.
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
 rgb=name2rgb("gold")
 rgb2name(rgb)
  ]]></programlisting>
-  </refsection>
-  <refsection role="see also">
-    <title>See Also</title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="color">color</link>
-      </member>
-      <member>
-        <link linkend="color_list">color_list</link>
-      </member>
-      <member>
-        <link linkend="rgb2name">rgb2name</link>
-      </member>
-    </simplelist>
-  </refsection>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="color">color</link>
+            </member>
+            <member>
+                <link linkend="color_list">color_list</link>
+            </member>
+            <member>
+                <link linkend="rgb2name">rgb2name</link>
+            </member>
+        </simplelist>
+    </refsection>
 </refentry>