Remove function draw() 95/13695/2
Calixte DENIZET [Mon, 10 Feb 2014 13:21:29 +0000 (14:21 +0100)]
Change-Id: I85bf0106b9bf6796226f01ded100d00438da4115

20 files changed:
scilab/CHANGES_5.5.X
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/graphics/graphics.vcxproj
scilab/modules/graphics/graphics.vcxproj.filters
scilab/modules/graphics/help/en_US/figure_operations/drawlater.xml
scilab/modules/graphics/help/en_US/figure_operations/drawnow.xml
scilab/modules/graphics/help/en_US/handle/draw.xml [deleted file]
scilab/modules/graphics/help/ja_JP/figure_operations/drawlater.xml
scilab/modules/graphics/help/ja_JP/figure_operations/drawnow.xml
scilab/modules/graphics/help/ja_JP/handle/draw.xml [deleted file]
scilab/modules/graphics/help/pt_BR/figure_operations/drawlater.xml
scilab/modules/graphics/help/pt_BR/figure_operations/drawnow.xml
scilab/modules/graphics/help/pt_BR/handle/draw.xml [deleted file]
scilab/modules/graphics/macros/%h_draw.sci [deleted file]
scilab/modules/graphics/macros/comet.sci
scilab/modules/graphics/macros/comet3d.sci
scilab/modules/graphics/macros/edit_curv.sci
scilab/modules/graphics/sci_gateway/c/sci_draw.c [deleted file]
scilab/modules/graphics/tests/nonreg_tests/bug_4090.tst [deleted file]

index ab07a28..6432022 100644 (file)
@@ -40,6 +40,8 @@ Obsolete & Removed Functions
 
 * with_embedded_jre removed.
 
+* draw removed.
+
 
 Compilation
 ============
index 36bbd2e..8e897b0 100644 (file)
@@ -413,7 +413,6 @@ sci_gateway/c/sci_drawaxis.c \
 sci_gateway/c/sci_demo.c \
 sci_gateway/c/sci_plot2d1.c \
 sci_gateway/c/sci_xrect.c \
-sci_gateway/c/sci_draw.c \
 sci_gateway/c/sci_xarrows.c \
 sci_gateway/c/sci_plot3d.c \
 sci_gateway/c/sci_move.c \
index 26992fb..4737918 100644 (file)
@@ -572,7 +572,6 @@ am__objects_2 = sci_gateway/c/libscigraphics_la-sci_swap_handles.lo \
        sci_gateway/c/libscigraphics_la-sci_demo.lo \
        sci_gateway/c/libscigraphics_la-sci_plot2d1.lo \
        sci_gateway/c/libscigraphics_la-sci_xrect.lo \
-       sci_gateway/c/libscigraphics_la-sci_draw.lo \
        sci_gateway/c/libscigraphics_la-sci_xarrows.lo \
        sci_gateway/c/libscigraphics_la-sci_plot3d.lo \
        sci_gateway/c/libscigraphics_la-sci_move.lo \
@@ -1349,7 +1348,6 @@ sci_gateway/c/sci_drawaxis.c \
 sci_gateway/c/sci_demo.c \
 sci_gateway/c/sci_plot2d1.c \
 sci_gateway/c/sci_xrect.c \
-sci_gateway/c/sci_draw.c \
 sci_gateway/c/sci_xarrows.c \
 sci_gateway/c/sci_plot3d.c \
 sci_gateway/c/sci_move.c \
@@ -2788,9 +2786,6 @@ sci_gateway/c/libscigraphics_la-sci_plot2d1.lo:  \
 sci_gateway/c/libscigraphics_la-sci_xrect.lo:  \
        sci_gateway/c/$(am__dirstamp) \
        sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
-sci_gateway/c/libscigraphics_la-sci_draw.lo:  \
-       sci_gateway/c/$(am__dirstamp) \
-       sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
 sci_gateway/c/libscigraphics_la-sci_xarrows.lo:  \
        sci_gateway/c/$(am__dirstamp) \
        sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
@@ -2913,7 +2908,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_copy.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_delete.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_demo.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_draw.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_drawaxis.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_drawlater.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_drawnow.Plo@am__quote@
@@ -6067,13 +6061,6 @@ sci_gateway/c/libscigraphics_la-sci_xrect.lo: sci_gateway/c/sci_xrect.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphics_la-sci_xrect.lo `test -f 'sci_gateway/c/sci_xrect.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xrect.c
 
-sci_gateway/c/libscigraphics_la-sci_draw.lo: sci_gateway/c/sci_draw.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphics_la-sci_draw.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_draw.Tpo -c -o sci_gateway/c/libscigraphics_la-sci_draw.lo `test -f 'sci_gateway/c/sci_draw.c' || echo '$(srcdir)/'`sci_gateway/c/sci_draw.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_draw.Tpo sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_draw.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='sci_gateway/c/sci_draw.c' object='sci_gateway/c/libscigraphics_la-sci_draw.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphics_la-sci_draw.lo `test -f 'sci_gateway/c/sci_draw.c' || echo '$(srcdir)/'`sci_gateway/c/sci_draw.c
-
 sci_gateway/c/libscigraphics_la-sci_xarrows.lo: sci_gateway/c/sci_xarrows.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphics_la-sci_xarrows.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_xarrows.Tpo -c -o sci_gateway/c/libscigraphics_la-sci_xarrows.lo `test -f 'sci_gateway/c/sci_xarrows.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xarrows.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_xarrows.Tpo sci_gateway/c/$(DEPDIR)/libscigraphics_la-sci_xarrows.Plo
index af20eb8..c3c8e29 100644 (file)
@@ -425,7 +425,6 @@ lib /DEF:"$(ProjectDir)elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MA
     <ClCompile Include="sci_gateway\c\sci_copy.c" />
     <ClCompile Include="sci_gateway\c\sci_delete.c" />
     <ClCompile Include="sci_gateway\c\sci_demo.c" />
-    <ClCompile Include="sci_gateway\c\sci_draw.c" />
     <ClCompile Include="sci_gateway\c\sci_drawaxis.c" />
     <ClCompile Include="sci_gateway\c\sci_drawlater.c" />
     <ClCompile Include="sci_gateway\c\sci_drawnow.c" />
index 7e6e3cf..6f154bc 100644 (file)
     <ClCompile Include="sci_gateway\c\sci_demo.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="sci_gateway\c\sci_draw.c">
-      <Filter>Source Files</Filter>
-    </ClCompile>
     <ClCompile Include="sci_gateway\c\sci_drawaxis.c">
       <Filter>Source Files</Filter>
     </ClCompile>
index ba2703f..e122cb4 100644 (file)
@@ -77,7 +77,6 @@ plot2d // draw these axes and children later...
 subplot(211) // Warning: we change the axes
 plot2d1 // default drawing mode
 
-draw(a) // ...axes only is visible providing you not redraw the window
 drawnow() // all is visible
  ]]></programlisting>
     </refsection>
index 53fd479..78b89ec 100644 (file)
@@ -51,8 +51,6 @@ plot2d(x,sin(2*x),5);
 subplot(236);
 plot2d(t,tan(2*t));  
  
-draw(gca()); //draw the current axes and its children
-draw(f.children([3 4])); // draw the specified axes and their children
 drawnow(); // draw the current figure
  ]]></programlisting>
     </refsection>
diff --git a/scilab/modules/graphics/help/en_US/handle/draw.xml b/scilab/modules/graphics/help/en_US/handle/draw.xml
deleted file mode 100644 (file)
index c2308ce..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA - Djalel Abdemouche
- * Copyright (C) INRIA - Fabrice Leray
- *
- * 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
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-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"  xml:lang="en" xml:id="draw">
-    <refnamediv>
-        <refname>draw</refname>
-        <refpurpose>
-            draw an entity. <emphasis role="bold">This function is obsolete.</emphasis>
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Calling Sequence</title>
-        <synopsis>draw()
-            draw(h)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Arguments</title>
-        <variablelist>
-            <varlistentry>
-                <term>h</term>
-                <listitem>
-                    <para>
-                        a handle, the handle on an entity to draw. <literal>h</literal> can
-                        be a vector of handles, in which case all objects identified by h(i)
-                        will be drawn.
-                    </para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Description</title>
-        <para>
-            This function can be used to draw entities specified by <literal>h</literal>
-            even if its parent figure <literal>immediate_drawing</literal> property is
-            <literal>"off"</literal>. If no argument is specified, the <literal>current object</literal>
-            is drawn. Note that the window must not be resized ; if not,
-            those objects are hidden back.
-        </para>
-        <para>
-            WARNING: Obsolete function.from Scilab 5.4.0 and is going to be removed with Scilab 5.4.1.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Examples</title>
-        <para>
-            Those two exemples below behave the same way hiding and showing objects.
-        </para>
-        <para>
-            <programlisting role="example"><![CDATA[
-subplot(212)
-a=gca();
-plot2d
-drawlater
-
-subplot(211)
-plot2d1 // default drawing mode
-
-e=gce();
-draw(e.children(2)) // draw a single polyline of the second axes
-
-e.children(1).visible='off'; // We can choose to make a line invisible
-
-draw(e) // draw Compound and its children <=> draw all the visible polylines
-
-drawnow // ...now!
-
-e.children(1).visible='on';
- ]]></programlisting>
-        </para>
-        <para>
-            <programlisting role="example"><![CDATA[
-subplot(212)
-a=gca();
-plot2d();
-drawlater();
-
-subplot(211);
-plot2d1(); // default drawing mode
-
-e=gce();
-a = gca();
-a.axes_visible = "off";
-e.children(:).visible = "off";
-drawnow();
-
-e.children(2).visible = "on"; // draw a single polyline of the second axes
-
-e.children(1).visible='off'; // We can choose to make a line invisible
-
-e.children(3).visible = "on"; // Make other components visible again
-
-a.axes_visible = "on";
-
-e.children(1).visible='on'; // Make last polyline visible
- ]]></programlisting>
-        </para>
-    </refsection>
-    <refsection role="see also">
-        <title>See Also</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="get">get</link>
-            </member>
-            <member>
-                <link linkend="set">set</link>
-            </member>
-            <member>
-                <link linkend="drawnow">drawnow</link>
-            </member>
-            <member>
-                <link linkend="drawlater">drawlater</link>
-            </member>
-            <member>
-                <link linkend="graphics_entities">graphics_entities</link>
-            </member>
-        </simplelist>
-    </refsection>
-    <refsection>
-        <title>History</title>
-        <revhistory>
-            <revision>
-                <revnumber>5.4.0</revnumber>
-                <revremark>Function draw is obsolete.</revremark>
-            </revision>
-        </revhistory>
-    </refsection>
-</refentry>
index b431873..a9bd534 100644 (file)
@@ -78,7 +78,6 @@ plot2d // これらの軸と子に後で描画します...
 subplot(211) //警告: 軸を変更します
 plot2d1 // デフォルトの描画モード
 
-draw(a) // ...指定した軸のみが可視で,ウインドウは再描画されません
 drawnow() // 全て可視
  ]]></programlisting>
     </refsection>
index 81e97d9..c437056 100644 (file)
@@ -51,8 +51,6 @@ plot2d(x,sin(2*x),5);
 subplot(236);
 plot2d(t,tan(2*t));  
  
-draw(gca()); //カレントの軸とその子を描画
-draw(f.children([3 4])); // 指定した軸とその子を描画
 drawnow(); // カレントの図を描画
  ]]></programlisting>
     </refsection>
diff --git a/scilab/modules/graphics/help/ja_JP/handle/draw.xml b/scilab/modules/graphics/help/ja_JP/handle/draw.xml
deleted file mode 100644 (file)
index 94e0dc7..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA - Djalel Abdemouche
- * Copyright (C) INRIA - Fabrice Leray
- * 
- * 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    
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-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" xml:lang="ja" xml:id="draw">
-    <refnamediv>
-        <refname>draw</refname>
-        <refpurpose>エンティティを描画.</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>呼び出し手順</title>
-        <synopsis>draw()
-            draw(h)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>パラメータ</title>
-        <variablelist>
-            <varlistentry>
-                <term>h</term>
-                <listitem>
-                    <para>
-                        ハンドル, 描画するエンティティのハンドル. <literal>h</literal> は
-                        ハンドルのベクトルとすることができ, この場合, h(i)で特定される全てのオブジェクト
-                        が描画されます.
-                    </para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>説明</title>
-        <para>
-            この関数は,<literal>h</literal>で指定されるエンティティを
-            描画する際に使用されます.
-            その親の図の<literal>immediate_drawing</literal>プロパティが
-            <literal>"off"</literal>の場合でも描画は実行されます.
-            引数が指定されない場合,<literal>カレントのオブジェクト</literal> 
-            が描画されます.
-            ウインドウの大きさを変更するべきではないことに注意してください;
-            変更するとこのオブジェクトが隠されてしまいます.
-        </para>
-    </refsection>
-    <refsection>
-        <title>例</title>
-        <programlisting role="example"><![CDATA[ 
-subplot(212)
-a=gca();
-plot2d
-drawlater
-
-subplot(211)
-plot2d1 // デフォルトの描画モード
-
-e=gce();
-draw(e.children(2)) // ポリゴンを1つ,2番目の軸に描画
-
-e.children(1).visible='off'; // 線を不可視に設定
-
-draw(e) // Compound とその子を描画 <=> 全ての可視のポリラインを描画
-
-drawnow // ...now!
-
-e.children(1).visible='on';
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>参照</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="get">get</link>
-            </member>
-            <member>
-                <link linkend="set">set</link>
-            </member>
-            <member>
-                <link linkend="drawnow">drawnow</link>
-            </member>
-            <member>
-                <link linkend="drawlater">drawlater</link>
-            </member>
-            <member>
-                <link linkend="graphics_entities">graphics_entities</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
index 816689f..082d381 100644 (file)
@@ -74,7 +74,6 @@ plot2d // desenhar
 subplot(211) // aviso: mudamos os eixos
 plot2d1 // modo de desenho padrão
 
-draw(a) // ...os eixos são visíveis apenas se você não resdesenhar a janela
 drawnow() // tudo está visível
  ]]></programlisting>
     </refsection>
index 92c7dbd..017984b 100644 (file)
@@ -50,8 +50,6 @@ plot2d(x,sin(2*x),5);
 subplot(236);
 plot2d(t,tan(2*t));  
  
-draw(gca()); //desenhando os eixos correntes e seus galhos
-draw(f.children([3 4])); // desenhando os eixos especificados e seus galhos
 drawnow(); // desenhando a figura corrente
  ]]></programlisting>
     </refsection>
diff --git a/scilab/modules/graphics/help/pt_BR/handle/draw.xml b/scilab/modules/graphics/help/pt_BR/handle/draw.xml
deleted file mode 100644 (file)
index 20b3150..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA - Djalel Abdemouche
- * Copyright (C) INRIA - Fabrice Leray
- * 
- * 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    
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-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:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="draw" xml:lang="en">
-    <refnamediv>
-        <refname>draw</refname>
-        <refpurpose>Desenha uma entidade</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
-        <synopsis>draw()
-            draw(h)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
-        <variablelist>
-            <varlistentry>
-                <term>h</term>
-                <listitem>
-                    <para>a o manipulador de uma entidade a ser desenhada.
-                        <literal>h</literal> pode ser um vetor de manipuladores. Neste caso,
-                        todos os objetos identificados por h(i) will serão desenhados
-                    </para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Descrição</title>
-        <para>Esta função pode ser utilizada para desenhar entidades especificadas
-            por <literal>h</literal> mesmo se a propriedade de figura raiz
-            <literal>immediate_drawing</literal> for <literal>"off"</literal>. Se
-            nenhum argumento for especificado, o objeto corrente é desenhado. Note que
-            a janela não deve ser redimensionada; se for, esses objetos serão
-            escondidos.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
-subplot(212)
-a=gca();
-plot2d
-drawlater
-
-subplot(211)
-plot2d1 // modo de desenho padrão
-
-e=gce();
-draw(e.children(2)) // desenhando uma única poligonal dos segundos eixos
-
-e.children(1).visible='off'; // podemos escolher tornar uma linha invisível
-
-draw(e) // desenha o Compound e seus galhos &lt;=&gt; desenha todas as poligonais visíveis
-
-drawnow // ...agora!
-
-e.children(1).visible='on';
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Ver Também</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="get">get</link>
-            </member>
-            <member>
-                <link linkend="set">set</link>
-            </member>
-            <member>
-                <link linkend="drawnow">drawnow</link>
-            </member>
-            <member>
-                <link linkend="drawlater">drawlater</link>
-            </member>
-            <member>
-                <link linkend="graphics_entities">graphics_entities</link>
-            </member>
-        </simplelist>
-    </refsection>
-    <refsection>
-        <title>Autores</title>
-        <para>Djalel ABDEMOUCHE, F.Leray</para>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/graphics/macros/%h_draw.sci b/scilab/modules/graphics/macros/%h_draw.sci
deleted file mode 100644 (file)
index 8f738b2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) INRIA
-// 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
-// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
-
-function %h_draw(hdl)
-    for i=1:size(hdl,"*")
-        draw(hdl(i));
-    end
-endfunction
index 6473806..0999e4f 100644 (file)
@@ -160,7 +160,6 @@ function comet(varargin)
                 tail(l).data=[tail(l).data;[x(n-k+i,l),y(n-k+i,l)]];
             end
             if modulo(i,step)==0 then
-                //draw(axes),
                 fig.immediate_drawing = "on"
                 fig.immediate_drawing = "off"
             end
index e0f1e0d..984dda9 100644 (file)
@@ -184,7 +184,6 @@ function comet3d(varargin)
                 tail(l).data=[ tail(l).data;[x(i-k,l),y(i-k,l),z(i-k,l)]];
             end
             if modulo(i,step)==0 then
-                //draw(axes),
                 fig.immediate_drawing = "on"
                 fig.immediate_drawing = "off"
             end
index d25434c..c6e399e 100644 (file)
@@ -99,7 +99,7 @@ function [x,y,ok,gc]=edit_curv(x,y,job,tit,gc)
 
     // Set menus and callbacks
     menu_d = ["Read","Save","Clear"]
-    menu_e = ["Undo","Size","Replot","Ok","Abort"]
+    menu_e = ["Undo","Size","Ok","Abort"]
     menus  = list(["Edit","Data"],menu_e,menu_d)
     w="menus(2)(";rpar=")"
     Edit=w(ones(menu_e))+string(1:size(menu_e,"*"))+rpar(ones(menu_e))
@@ -240,9 +240,6 @@ function [x,y,ok,gc]=edit_curv(x,y,job,tit,gc)
         case "Save" then
             savexy(x,y)
 
-        case "Replot" then
-            draw(f)
-
         case "edit" then
             npt=prod(size(x))
             if npt<>0 then
diff --git a/scilab/modules/graphics/sci_gateway/c/sci_draw.c b/scilab/modules/graphics/sci_gateway/c/sci_draw.c
deleted file mode 100644 (file)
index 6c4b78d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2006 - INRIA - Fabrice Leray
- * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy
- *
- * 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
- * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
- *
- */
-
-/*------------------------------------------------------------------------*/
-/* file: sci_draw.h                                                       */
-/* desc : interface for draw routine                                      */
-/*------------------------------------------------------------------------*/
-#include "api_scilab.h"
-#include "gw_graphics.h"
-#include "warningmode.h"
-#include "sciprint.h"
-#include "localization.h"
-/*--------------------------------------------------------------------------*/
-//
-// FIXME: Remove GW after Scilab 5.4.0
-//
-int sci_draw(char * fname, unsigned long fname_len)
-{
-
-    CheckInputArgument(pvApiCtx, 0, 1);
-    CheckOutputArgument(pvApiCtx, 0, 1);
-
-    if (getWarningMode())
-    {
-        sciprint(_("%s: Function %s is obsolete.\n"), _("Warning"), fname);
-        sciprint(_("%s: Please see documentation for more details.\n"), _("Warning"));
-        sciprint(_("%s: This function will be permanently removed in Scilab %s\n\n"), _("Warning"), "5.4.1");
-    }
-
-    AssignOutputVariable(pvApiCtx, 1) = 0;
-    ReturnArguments(pvApiCtx);
-    return 0;
-}
-/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/graphics/tests/nonreg_tests/bug_4090.tst b/scilab/modules/graphics/tests/nonreg_tests/bug_4090.tst
deleted file mode 100644 (file)
index 4771242..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2009-2009 - DIGITEO - Jean-Baptiste Silvy
-//
-//  This file is distributed under the same license as the Scilab package.
-// =============================================================================
-
-// <-- INTERACTIVE TEST -->
-
-// <-- Non-regression test for bug 4090 -->
-//
-// <-- Bugzilla URL -->
-// http://bugzilla.scilab.org/show_bug.cgi?id=4090
-//
-// <-- Short Description -->
-// draw does not work any more while inside drawlater/drawnow scope.
-// 
-
-x = 1:10;
-
-subplot(212)
-a=gca();
-plot2d(1:10);
-drawlater
-
-subplot(211);
-plot2d(x, sin(x)) // default drawing mode
-
-e=gce();
-draw(e.children(1));
-
-// should draw a polyline inside the top axes
-