Update of datatip help files. 09/12609/2
Gustavo LIBOTTE [Fri, 20 Sep 2013 01:29:53 +0000 (22:29 -0300)]
Change-Id: Ida27877de3a795775690426fd821be6eebb1efa9

22 files changed:
scilab/modules/graphics/help/en_US/datatips/datatipCreate.xml
scilab/modules/graphics/help/en_US/datatips/datatipGetEntities.xml
scilab/modules/graphics/help/en_US/datatips/datatipGetStruct.xml
scilab/modules/graphics/help/en_US/datatips/datatipInitStruct.xml
scilab/modules/graphics/help/en_US/datatips/datatipManagerMode.xml
scilab/modules/graphics/help/en_US/datatips/datatipRedraw.xml
scilab/modules/graphics/help/en_US/datatips/datatipRemove.xml
scilab/modules/graphics/help/en_US/datatips/datatipSetDisplay.xml
scilab/modules/graphics/help/en_US/datatips/datatipSetInterp.xml
scilab/modules/graphics/help/en_US/datatips/datatipSetOrientation.xml
scilab/modules/graphics/help/en_US/datatips/datatipSetStruct.xml
scilab/modules/graphics/help/en_US/datatips/datatipSetStyle.xml
scilab/modules/graphics/help/en_US/datatips/datatips.xml
scilab/modules/helptools/images/datatipCreate_1.png
scilab/modules/helptools/images/datatipGetStruct_1.png
scilab/modules/helptools/images/datatipRedraw_1.png
scilab/modules/helptools/images/datatipSetDisplay_1.png
scilab/modules/helptools/images/datatipSetInterp_1.png
scilab/modules/helptools/images/datatipSetOrientation_1.png
scilab/modules/helptools/images/datatipSetStyle_1.png
scilab/modules/helptools/images/datatips_1.png
scilab/modules/helptools/images/datatips_2.png

index d41df93..2e05f12 100644 (file)
@@ -11,7 +11,7 @@
 <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" xml:lang="en_US" xml:id="datatipCreate">
     <refnamediv>
         <refname>datatipCreate</refname>
-        <refpurpose>Create a data tip on a polyline by program</refpurpose>
+        <refpurpose>Create a datatip on a polyline by program</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
@@ -42,7 +42,7 @@
                 <term>pt</term>
                 <listitem>
                     <para>
-                        A vector with 2 elements, the coordinates of the point where to draw the data tip.
+                        A vector with 2 or 3 elements, the coordinates of the point where to draw the data tip.
                     </para>
                 </listitem>
             </varlistentry>
@@ -59,7 +59,7 @@
     <refsection>
         <title>Description</title>
         <para>
-            This function can be used to create data tips on a polyline by
+            This function can be used to create datatips on a polyline by
             program. Called with an index as second argument, it sets the
             tip at the coordinates given by polyline point specified by the
             index. Called with a point as second argument it sets the tip
     plot(x,y);
     e=gce();p=e.children(1);//get the handle on the polyline
     p.mark_mode="on";p.mark_style=2;p.mark_size=12;
-    t=datatipCreate(p,3);
+    t=datatipCreate(p,5);
 
-    datatipCreate(p,[0.6,0.2]);
-    datatipSetInterp(p,%t);
-    datatipCreate(p,[0.82,0.62]);
+    datatipCreate(p,[0.65,0.3]);
     ]]></programlisting>
         <scilab:image>
             x=linspace(0,1,9)';
             plot(x,y);
             e=gce();p=e.children(1);//get the handle on the polyline
             p.mark_mode="on";p.mark_style=2;p.mark_size=12;
-            t=datatipCreate(p,3);
+            t=datatipCreate(p,5);
             
-            datatipCreate(p,[0.6,0.2]);
-            datatipSetInterp(p,%t);
-            datatipCreate(p,[0.82,0.62]);
+            datatipCreate(p,[0.65,0.3]);
         </scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
             <member>
-                <link linkend="datatipInitStruct">datatipInitStruct</link>
-            </member>
-            <member>
                 <link linkend="datatips">datatips</link>
             </member>
             <member>
index 2aa0d5d..5efac61 100644 (file)
@@ -11,7 +11,7 @@
 <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" xml:lang="en_US" xml:id="datatipGetEntities">
     <refnamediv>
         <refname>datatipGetEntities</refname>
-        <refpurpose>Get all the entities compatible with datatips in the given axes. </refpurpose>
+        <refpurpose>Get all the entities compatible with datatips in the given axes.</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
index 1f361db..40c5284 100644 (file)
@@ -11,7 +11,9 @@
 <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" xml:lang="en_US" xml:id="datatipGetStruct">
     <refnamediv>
         <refname>datatipGetStruct</refname>
-        <refpurpose>Retreive the datatips data structure from the polyline entity. </refpurpose>
+        <refpurpose>
+            Retreive the datatips data structure from the polyline entity. <emphasis role="bold">Obsolete function. </emphasis>
+        </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
             datatips_struct.formatfunction
         </scilab:image>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
index 915b377..225750e 100644 (file)
@@ -11,7 +11,9 @@
 <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" xml:lang="en_US" xml:id="datatipInitStruct">
     <refnamediv>
         <refname>datatipInitStruct</refname>
-        <refpurpose>Initialize the datatip structure associated with the given polyline. </refpurpose>
+        <refpurpose>
+            Initialize the datatip structure associated with the given polyline. <emphasis role="bold">Obsolete function. </emphasis>
+        </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
 
             ]]></scilab:image>-->
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 1a9f257..b6b6e57 100644 (file)
@@ -11,7 +11,7 @@
 <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" xml:lang="en_US" xml:id="datatipManagerMode">
     <refnamediv>
         <refname>datatipManagerMode</refname>
-        <refpurpose>Set or toggles the data tips mode. </refpurpose>
+        <refpurpose>Set or toggles the datatips mode. </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
@@ -41,8 +41,7 @@
         <title>Description</title>
         <para>
             When enabled, the data tips mode allow
-            to add and edit tips at selected points of polylines. The selection is
-            made by a right click on the selected point.
+            to add and edit tips at selected points of polylines.
         </para>
         <para>
             <literal>datatipManagerMode()</literal>, toggles the data tips mode
@@ -68,7 +67,7 @@
         <programlisting role="example"><![CDATA[
        t=linspace(0,10,200);
        plot(t,sin(t))
-       datatipManagerMode('on')
+       datatipManagerMode(gcf())
        //now click somewhere on the curve
     ]]></programlisting>
     </refsection>
index debf885..45072b5 100644 (file)
@@ -11,7 +11,9 @@
 <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" xml:lang="en_US" xml:id="datatipRedraw">
     <refnamediv>
         <refname>datatipRedraw</refname>
-        <refpurpose>Redraw all datatips  after a 3D rotation to adjust their positions</refpurpose>
+        <refpurpose>
+            Redraw all datatips  after a 3D rotation to adjust their positions. <emphasis role="bold">Obsolete function. </emphasis>
+        </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
             datatipRedraw() //second plot below
         </scilab:image>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
index faea958..3f1c642 100644 (file)
@@ -65,7 +65,7 @@
     e=gce();p=e.children(1);//get the handle on the polyline
     t1=datatipCreate(p,80);
     datatipCreate(p,40);
-    datatipRemove(p,2) 
+    datatipRemove(p,1) 
     datatipRemove(t1)
     ]]></programlisting>
         <scilab:image>
@@ -76,7 +76,7 @@
             e=gce();p=e.children(1);//get the handle on the polyline
             t1=datatipCreate(p,80);
             datatipCreate(p,40);
-            datatipRemove(p,2) 
+            datatipRemove(p,1) 
             datatipRemove(t1)
         </scilab:image>
     </refsection>
index db3dff7..41491f5 100644 (file)
@@ -16,8 +16,8 @@
     <refsynopsisdiv>
         <title>Calling Sequence</title>
         <synopsis>
-            datatipSetDisplay(curve_handle,fun)
-            datatipSetDisplay(curve_handle)
+            datatipSetDisplay(tip_handle,"fun")
+            datatipSetDisplay(tip_handle)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
         </variablelist>
         <variablelist>
             <varlistentry>
-                <term>fun</term>
+                <term>"fun"</term>
                 <listitem>
                     <para>
-                        A variable that contains a function (type==11 or
-                        type==13). This function calling sequence must be
-                        <literal>str=fun(curve, pt, index)</literal> where
-                        <literal>curve</literal> is the handle of the polyline
-                        associated with the datatip, <literal>pt</literal> is the
-                        vector of datatip coordinates and <literal>index</literal>
-                        is the mesh point index of the datatip point or the index
-                        of the previous mesh point if interpolation is allowed.
+                        A character string that contains a function name. 
+                        This function calling sequence must be
+                        <literal>str=fun(pt)</literal> where
+                        <literal>pt</literal> is the vector of datatip coordinates.
                     </para>
                     <para>
                         This function must return a string or a vector of strings
         <title>Examples</title><programlisting role="example"><![CDATA[
     x=linspace(-1,1,1000);
     clf()
-    plot(x,sinc(20*x),x,1-x^2);
+    plot(x,sinc(20*x),x,1-x.^2);
     e=gce();e=e.children;
     d21=datatipCreate(e(2),600);
-    d22=datatipCreate(e(2),200);
     d1=datatipCreate(e(1),700);
 
-    function str=mydisplay(curve,pt,index)
+    function str=mydisplay(pt)
        str=msprintf('sinc(%-0.2g)=%-0.2g', 20*pt(1),pt(2))
     endfunction
-    datatipSetDisplay(e(2),mydisplay) 
+    datatipSetDisplay(d21,"mydisplay") 
     ]]></programlisting>
         <scilab:image>
             x=linspace(-1,1,1000);
             clf()
-            plot(x,sinc(20*x),x,1-x^2);
+            plot(x,sinc(20*x),x,1-x.^2);
             e=gce();e=e.children;
             d21=datatipCreate(e(2),600);
-            d22=datatipCreate(e(2),200);
             d1=datatipCreate(e(1),700);
             
-            function str=mydisplay(curve,pt,index)
+            function str=mydisplay(pt)
             str=msprintf('sinc(%-0.2g)=%-0.2g', 20*pt(1),pt(2))
             endfunction
-            datatipSetDisplay(e(2),mydisplay) 
+            datatipSetDisplay(d21,"mydisplay") 
         </scilab:image>
         The display function can also be used to place tip text in different locations:
         <programlisting role="example"><![CDATA[
-    function str=infodisplay(curve,pt,index)
+    function str=infodisplay(pt)
        xinfo(msprintf('x=%0.2g,\t 1-x^2=%0.2g', pt(1),pt(2)))
        str=''
     endfunction
-    datatipSetDisplay(e(1),infodisplay) //tip text displayed in the info bar
+    datatipSetDisplay(d1,"infodisplay") //tip text displayed in the info bar
     ]]></programlisting>
     </refsection>
     <refsection role="see also">
index 3bfd28b..5d513d5 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" xml:lang="en_US" xml:id="datatipSetInterp">
     <refnamediv>
         <refname>datatipSetInterp</refname>
-        <refpurpose>Set the interpolation mode for tip location. </refpurpose>
+        <refpurpose>Set the interpolation mode for datatip. </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
         <synopsis>
-            datatipSetInterp(curve_handle,interp_mode)
+            datatipSetInterp(datatip_handle,interp_mode)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
-                <term>curve_handle</term>
+                <term>datatip_handle</term>
                 <listitem>
                     <para>
-                        A handle on a polyline. 
+                        A handle of the tip. 
                     </para>
                 </listitem>
             </varlistentry>
@@ -38,7 +38,7 @@
                     <para>
                         A boolean, if false the tips can only be located at the
                         mesh points, if true interpolation is made between mesh
-                        points. The default value is false.
+                        points. The default value is true.
                     </para>
                 </listitem>
             </varlistentry>
@@ -59,9 +59,8 @@
     plot(x,y);
     e=gce();p=e.children(1);//get the handle on the polyline
     p.mark_mode="on";p.mark_style=2;p.mark_size=5;
-    datatipCreate(p,[0.8,0.512]);
-    datatipSetInterp(p,%t);
-    datatipCreate(p,[0.8,0.512]);
+    t=datatipCreate(p,[0.8,0.512]);
+    datatipSetInterp(t,%f);//now move the datatip
     ]]></programlisting>
         <scilab:image>
             x=linspace(0,1,8)';
@@ -69,9 +68,8 @@
             plot(x,y);
             e=gce();p=e.children(1);//get the handle on the polyline
             p.mark_mode="on";p.mark_style=2;p.mark_size=5;
-            datatipCreate(p,[0.8,0.512]);
-            datatipSetInterp(p,%t);
-            datatipCreate(p,[0.8,0.512]);
+            t=datatipCreate(p,[0.8,0.512]);
+            datatipSetInterp(t,%f);//now move the datatip
         </scilab:image>
     </refsection>
     <refsection role="see also">
index 4f35135..e1d8193 100644 (file)
         <programlisting role="example"><![CDATA[
     x=linspace(-20,20,1000);
     clf()
-    plot(x,sinc(x),x,sinc(x^2));
+    plot(x,sinc(x),x,sinc(x.^2));
     e=gce();e=e.children;
     d1=datatipCreate(e(1),500);
     d2=datatipCreate(e(2),60);
-    datatipSetOrientation(d2,"lower left")
+    datatipSetOrientation(d1,"lower left");
+    datatipSetOrientation(d2,"lower right");
     ]]></programlisting>
         <scilab:image>
             x=linspace(-20,20,1000);
-            plot(x,sinc(x),x,sinc(x^2));
+            plot(x,sinc(x),x,sinc(x.^2));
             e=gce();e=e.children;
             d1=datatipCreate(e(1),500);
             d2=datatipCreate(e(2),60);
-            datatipSetOrientation(d2,"lower left")
+            datatipSetOrientation(d1,"lower left");
+            datatipSetOrientation(d2,"lower right");
         </scilab:image>
     </refsection>
     <refsection role="see also">
index e8bf276..9f8c22e 100644 (file)
@@ -11,7 +11,9 @@
 <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" xml:lang="en_US" xml:id="datatipSetStruct">
     <refnamediv>
         <refname>datatipSetStruct</refname>
-        <refpurpose>Stores the datatips data structure in the polyline entity. </refpurpose>
+        <refpurpose>
+            Stores the datatips data structure in the polyline entity. <emphasis role="bold">Obsolete function. </emphasis>
+        </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
             entity. This is a subsidiary functions which is not to be called directly.
         </para>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revdescription>
+                    Function tagged obsolete. Will be removed in 5.5.0.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
index 48501eb..c43f443 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" xml:lang="en_US" xml:id="datatipSetStyle">
     <refnamediv>
         <refname>datatipSetStyle</refname>
-        <refpurpose>Set the tip style for the given polyline datatips.</refpurpose>
+        <refpurpose>Set the datatip style.</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
         <synopsis>
-            datatipSetStyle(curve_handle)
-            datatipSetStyle(curve_handle,t [,boxed [,labeled]])
+            datatipSetStyle(polyline_handle)
+            datatipSetStyle(polyline_handle,t [,boxed [,labeled]])
         </synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
-                <term>curve_handle</term>
+                <term>polyline_handle</term>
                 <listitem>
                     <para>
-                        A handle on a polyline. 
+                        The handle of the polyline where the tip is. 
                     </para>
                 </listitem>
             </varlistentry>
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
     x=linspace(-20,20,1000);
-    clf();plot(x,sinc(x),x,sinc(x^2));
+    clf();plot(x,sinc(x),x,sinc(x.^2));
     e=gce();e=e.children;
-    function str=mydisplay(curve,pt,index),str=msprintf('%0.2g', pt(1)),endfunction
-    datatipSetDisplay(e(1),mydisplay)
-    datatipSetStyle(e(1),2,%f)
     d1=datatipCreate(e(1),540);
-
-    datatipSetStyle(e(2),1,%t)
+    function str=mydisplay(pt),str=msprintf('%0.2g', pt(1)),endfunction
+    datatipSetDisplay(d1,"mydisplay")
+    datatipSetStyle(e(1),2,%f)
+    datatipSetOrientation(d1,"upper left");
+    
     d2=datatipCreate(e(2),200);
+    datatipSetStyle(e(2),1,%t)
+    datatipSetOrientation(d2,"lower left");
 
     ]]></programlisting>
         <scilab:image>
             x=linspace(-20,20,1000);
-            clf();plot(x,sinc(x),x,sinc(x^2));
+            clf();plot(x,sinc(x),x,sinc(x.^2));
             e=gce();e=e.children;
-            function str=mydisplay(curve,pt,index),str=msprintf('%0.2g', pt(1)),endfunction
-            datatipSetDisplay(e(1),mydisplay)
-            datatipSetStyle(e(1),2,%f)
             d1=datatipCreate(e(1),540);
+            function str=mydisplay(pt),str=msprintf('%0.2g', pt(1)),endfunction
+            datatipSetDisplay(d1,"mydisplay")
+            datatipSetStyle(e(1),2,%f)
+            datatipSetOrientation(d1,"upper left");
             
-            datatipSetStyle(e(2),1,%t)
             d2=datatipCreate(e(2),200);
+            datatipSetStyle(e(2),1,%t)
+            datatipSetOrientation(d2,"lower left");
         </scilab:image>
     </refsection>
     <refsection role="see also">
             <member>
                 <link linkend="datatipCreate">datatipCreate</link>
             </member>
-            <member>
-                <link linkend="datatipInitStruct">datatipInitStruct</link>
-            </member>
         </simplelist>
     </refsection>
     <refsection>
index d4e5216..5e44767 100644 (file)
         </para>
         <para>Once enabled, a simple left click on a curve will add a tip
             ( a small box with information on the current point) at the
-            nearest datapoint of the curve. By default each curve can have a
-            single tip but it is possible to allow multiple datatips using
-            the right click contextual menu.
+            interpolated point of the curve.
         </para>
         <para>
             To move a tip, press left button on the small square mark on
-            the curve, wait a little and drag it to the desired location.
+            the curve and drag it to the desired location.
         </para>
         <para>
-            Right click on the tip mark opens a contextual dialog. This
-            dialog allows in particular to customize the information
-            displayed in all the datatips of the associated curve.
-        </para>
-        <para>
-            Middle click on the tip mark opens a contextual dialog that
-            allows to manage the orientation of the selected tip.
+            To remove a datatip, right click on the small square mark on
+            the curve.
         </para>
     </refsection>
     <refsection>
     t=datatipCreate(p1,50);
     datatipSetOrientation(t,"lower right")
     t=datatipCreate(p1,[0.8 0.5]);
-    t=datatipCreate(p2,[0.1,0]);
+    t=datatipCreate(p2,[0.1,0.0]);
     t=datatipCreate(p2,[0.8 0.4]);
     datatipSetOrientation(t,"upper left")
   
-    function str=myfmt(curve,pt,index)
+    function str=myfmt(pt)
       str = msprintf('sinc\n%s', sci2exp(round(pt*10)/10))
     endfunction
-    datatipSetDisplay(p1,myfmt) //then modify the function in the editor an ok
+    datatipSetDisplay(t,"myfmt")
     
      ]]></programlisting>
         <scilab:image>
             t=datatipCreate(p1,50);
             datatipSetOrientation(t,"lower right")
             t=datatipCreate(p1,[0.8 0.5]);
-            t=datatipCreate(p2,[0.1,0]);
+            t=datatipCreate(p2,[0.1,0.0]);
             t=datatipCreate(p2,[0.8 0.4]);
             datatipSetOrientation(t,"upper left")
             
-            function str=myfmt(curve,pt,index)
+            function str=myfmt(pt)
             str = msprintf('sinc\n%s', sci2exp(round(pt*10)/10))
             endfunction
-            datatipSetDisplay(p1,myfmt) //then modify the function in the editor an ok
+            datatipSetDisplay(t,"myfmt")
         </scilab:image>
         <programlisting role="example"><![CDATA[
     // With 3D curves
     p=gce();
     t=datatipCreate(p,50);
     datatipSetOrientation(t,"lower right")
-    datatipCreate(p,[0,-1.1,1.1]);
+    datatipCreate(p,[0,-1.10,1.10]);
      ]]></programlisting>
         <scilab:image>
             x1=linspace(0,1.5,100)';
             p=gce();
             t=datatipCreate(p,50);
             datatipSetOrientation(t,"lower right")
-            datatipCreate(p,[0,-1.1,1.1]);
+            datatipCreate(p,[0,-1.10,1.10]);
         </scilab:image>
     </refsection>
     <refsection role="see also">
                 <link linkend="datatipToggle">datatipToggle</link>
             </member>
             <member>
-                <link linkend="datatipInitStruct">datatipInitStruct</link>
-            </member>
-            <member>
                 <link linkend="datatipCreate">datatipCreate</link>
             </member>
             <member>
index fdaabb8..62d1ca1 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipCreate_1.png and b/scilab/modules/helptools/images/datatipCreate_1.png differ
index 1c3e938..8d3126b 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipGetStruct_1.png and b/scilab/modules/helptools/images/datatipGetStruct_1.png differ
index 124d0a5..73ccafa 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipRedraw_1.png and b/scilab/modules/helptools/images/datatipRedraw_1.png differ
index 79127e3..1f4c872 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipSetDisplay_1.png and b/scilab/modules/helptools/images/datatipSetDisplay_1.png differ
index fcb9477..965a7b0 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipSetInterp_1.png and b/scilab/modules/helptools/images/datatipSetInterp_1.png differ
index b3a05fa..b2f5513 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipSetOrientation_1.png and b/scilab/modules/helptools/images/datatipSetOrientation_1.png differ
index d91d28c..8b9b030 100644 (file)
Binary files a/scilab/modules/helptools/images/datatipSetStyle_1.png and b/scilab/modules/helptools/images/datatipSetStyle_1.png differ
index 3725ac2..71d4d3b 100644 (file)
Binary files a/scilab/modules/helptools/images/datatips_1.png and b/scilab/modules/helptools/images/datatips_1.png differ
index 773e20f..d84bacd 100644 (file)
Binary files a/scilab/modules/helptools/images/datatips_2.png and b/scilab/modules/helptools/images/datatips_2.png differ