xget(): removal from help pages 37/19037/4
Samuel GOUGEON [Sat, 4 Feb 2017 00:28:00 +0000 (01:28 +0100)]
 * All references removed, apart from xget and xset pages left
 * No images changed

Change-Id: Ib94b686a55a3a0aa989b8a697fdf8ede80d5c23a

19 files changed:
scilab/modules/graphics/help/en_US/2d_plot/Matplot.xml
scilab/modules/graphics/help/en_US/2d_plot/Matplot_properties.xml
scilab/modules/graphics/help/en_US/Graphics.xml
scilab/modules/graphics/help/en_US/color_management/colorbar.xml
scilab/modules/graphics/help/fr_FR/Graphics.xml
scilab/modules/graphics/help/ja_JP/2d_plot/Matplot.xml
scilab/modules/graphics/help/ja_JP/2d_plot/Matplot_properties.xml
scilab/modules/graphics/help/ja_JP/Graphics.xml
scilab/modules/graphics/help/ja_JP/color_management/colorbar.xml
scilab/modules/graphics/help/pt_BR/2d_plot/Matplot.xml
scilab/modules/graphics/help/pt_BR/Graphics.xml
scilab/modules/graphics/help/pt_BR/color_management/colorbar.xml
scilab/modules/graphics/help/ru_RU/Graphics.xml
scilab/modules/interpolation/help/en_US/linear_interpn.xml
scilab/modules/interpolation/help/en_US/splin3d.xml
scilab/modules/interpolation/help/ja_JP/linear_interpn.xml
scilab/modules/interpolation/help/ja_JP/splin3d.xml
scilab/modules/interpolation/help/pt_BR/linear_interpn.xml
scilab/modules/interpolation/help/pt_BR/splin3d.xml

index 8215ba9..c4fe7e6 100644 (file)
@@ -343,10 +343,12 @@ Matplot([1 2 3;4 5 6])
         <programlisting role="example"><![CDATA[
 clf()
 // draw the current colormap
-Matplot((1:xget("lastpattern")))
+nbcol = size(gcf().color_map, 1);
+Matplot(1:nbcol)
  ]]></programlisting>
         <scilab:image>
-            Matplot((1:xget("lastpattern")))
+            nbcol = size(gcf().color_map, 1);
+            Matplot(1:nbcol)
         </scilab:image>
     </refsection>
     <refsection role="see also">
index 8ad72b2..84746e0 100644 (file)
     <refsection>
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
-Matplot((1:xget("lastpattern")))
+nbcolors = size(gcf().color_map, 1);
+Matplot(1:nbcolors)
 e = gce(); // get current entity
-
 e.data = e.data($:-1:1) // reverse order
  ]]></programlisting>
         <scilab:image>
-            Matplot((1:xget("lastpattern")));
-            e=gce();
-            e.data=e.data($:-1:1);
+            nbcolors = size(gcf().color_map, 1);
+            Matplot(1:nbcolors)
+            e = gce();
+            e.data = e.data($:-1:1);
         </scilab:image>
     </refsection>
     <refsection role="see also">
index 7846949..42ed391 100644 (file)
             </varlistentry>
             <varlistentry>
                 <term>
-                    <link linkend="xget">xget</link>
+                    <link linkend="get">get</link>
                 </term>
                 <listitem>
                     <para>
-                        Get current values of the graphics context
-                        <warning>
-                            This function is obsolete.
-                        </warning>
+                        Retrieve the value of a property from the handle of a graphic or of an
+                        interactive object.
                     </para>
                 </listitem>
             </varlistentry>
index 7f4f8c1..62ba381 100644 (file)
@@ -155,7 +155,6 @@ clf()
 gcf().color_map = hotcolormap(nb_col);
 drawlater() ;
 colorbar(zzm,zzM,[1, nb_col],fmt="%.1f")
-nbcol = xget("lastpattern")
 zcol = dsearch(zf, linspace(zzm, zzM, nb_col+1));
 plot3d(xf, yf, list(zf, zcol), flag = [-2 6 4])
 xtitle("a plot3d with shaded interpolated colors")
@@ -170,7 +169,6 @@ show_window()
             nb_col = 64;
             gcf().color_map = hotcolormap(nb_col);
             colorbar(zzm,zzM,[1, nb_col],fmt="%.1f")
-            nbcol = xget("lastpattern")
             zcol = dsearch(zf, linspace(zzm, zzM, nb_col+1));
             plot3d(xf, yf, list(zf, zcol), flag = [-2 6 4])
             xtitle("a plot3d with shaded interpolated colors")
index 87be54b..01021d7 100644 (file)
             </varlistentry>
             <varlistentry>
                 <term>
-                    <link linkend="xget">xget</link>
+                    <link linkend="get">get</link>
                 </term>
                 <listitem>
-                    <para>récupère des valeurs du contexte graphique</para>
+                    <para>
+                      fournit la valeur d'un attribut d'un élément graphique passif ou interactif,
+                      à partir de l'identifiant de l'élément.
+                    </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
index e58e5f7..0651270 100644 (file)
         <title>例</title>
 
         <programlisting role="example"><![CDATA[
-
-Matplot([1 2 3;4 5 6])
-
+Matplot([1 2 3 ; 4 5 6])
  ]]></programlisting>
 
         <scilab:image>
@@ -621,25 +619,16 @@ Matplot([1 2 3;4 5 6])
         </scilab:image>
 
         <programlisting role="example"><![CDATA[
-
 clf()
-
 // カレントのカラーマップを描画
-
-Matplot((1:xget("lastpattern")))
-
+nbcol = size(gcf().color_map, 1);
+Matplot(1:nbcol)
  ]]></programlisting>
-
         <scilab:image>
-
-            Matplot((1:xget("lastpattern")))
-
+            nbcol = size(gcf().color_map, 1);
+            Matplot(1:nbcol)
         </scilab:image>
-
     </refsection>
-
-
-
     <refsection role="see also">
 
         <title>参照</title>
index 900172b..142d617 100644 (file)
     <refsection>
         <title>例</title>
         <programlisting role="example"><![CDATA[
-Matplot((1:xget("lastpattern")))
-e=gce(); // カレントのエンティティを取得
-e.data=e.data($:-1:1) // 逆順
+nbcolors = size(gcf().color_map, 1);
+Matplot(1:nbcolors)
+e = gce(); // カレントのエンティティを取得
+e.data = e.data($:-1:1) // 逆順
  ]]></programlisting>
         <scilab:image>
-            Matplot((1:xget("lastpattern")));
-            e=gce();
-            e.data=e.data($:-1:1);
+            nbcolors = size(gcf().color_map, 1);
+            Matplot(1:nbcolors)
+            e = gce();
+            e.data = e.data($:-1:1);
         </scilab:image>
     </refsection>
     <refsection role="see also">
index 09bd33e..b373782 100644 (file)
             </varlistentry>
             <varlistentry>
                 <term>
-                    <link linkend="xget">xget</link>
+                    <link linkend="get">get</link>
                 </term>
                 <listitem>
-                    <para>グラフィックコンテキストのカレントの値を取得</para>
+                    <para>
+                        Retrieve the value of a property from the handle of a graphic or of an
+                        interactive object.
+                    </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
index 310f09b..2279398 100644 (file)
@@ -324,8 +324,6 @@ drawlater() ;
 
 colorbar(zzm,zzM,[1, nb_col],fmt="%.1f")
 
-nbcol = xget("lastpattern")
-
 zcol = dsearch(zf, linspace(zzm, zzM, nb_col+1));
 
 plot3d(xf, yf, list(zf, zcol), flag = [-2 6 4])
@@ -349,12 +347,10 @@ show_window()
             [xf,yf,zf]=genfac3d(x,x,zz);
 
             nb_col = 64;
-            
+
             gcf().color_map = hotcolormap(nb_col);
-            
-            colorbar(zzm,zzM,[1, nb_col],fmt="%.1f")
 
-            nbcol = xget("lastpattern")
+            colorbar(zzm,zzM,[1, nb_col],fmt="%.1f")
 
             zcol = dsearch(zf, linspace(zzm, zzM, nb_col+1));
 
index cd79065..8e225ea 100644 (file)
  * along with this program.
  *
  -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="Matplot" xml:lang="pt">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="Matplot" xml:lang="pt">
     <refnamediv>
         <refname>Matplot</refname>
-        <refpurpose>esboço 2d de uma matriz utilizando-se cores</refpurpose>
+        <refpurpose>esboço 2d de uma matriz utilizando-se cores</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
+        <title>Seqüência de Chamamento</title>
         <synopsis>Matplot(a,[strf,rect,nax])
             Matplot(a,&lt;opt_args&gt;)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
-        <title>Parâmetros</title>
+        <title>Parâmetros</title>
         <variablelist>
             <varlistentry>
                 <term>a</term>
@@ -37,7 +40,7 @@
                 <term>&lt;opt_args&gt;</term>
                 <listitem>
                     <para>
-                        representa uma seqüência de declarações <literal>key1=value1,
+                        representa uma seqüência de declarações <literal>key1=value1,
                             key2=value2
                         </literal>
                         ,... onde <literal>key1</literal>,
                         <varlistentry>
                             <term>rect</term>
                             <listitem>
-                                <para>ajusta as fronteiras do esboço. Se esta chave é
+                                <para>ajusta as fronteiras do esboço. Se esta chave é
                                     fornecida, nem <literal>frameflag</literal> ou
-                                    <literal>strf</literal> é fornecido, então o caractere
-                                    <literal>y</literal> de <literal>strf</literal> é suposto como
+                                    <literal>strf</literal> é fornecido, então o caractere
+                                    <literal>y</literal> de <literal>strf</literal> é suposto como
                                     <literal>7</literal>. Ver valores abaixo.
                                 </para>
                             </listitem>
                         <varlistentry>
                             <term>nax</term>
                             <listitem>
-                                <para>ajusta a definição dos grides. Se esta chave é
+                                <para>ajusta a definição dos grides. Se esta chave é
                                     fornecida, nem <literal>axesflag</literal> ou
-                                    <literal>strf</literal> é fornecido, então o caractere
-                                    <literal>z</literal> cd <literal>strf</literal> é suposto como
+                                    <literal>strf</literal> é fornecido, então o caractere
+                                    <literal>z</literal> cd <literal>strf</literal> é suposto como
                                     <literal>1</literal>. Ver valores abaixo.
                                 </para>
                             </listitem>
@@ -69,8 +72,8 @@
                         <varlistentry>
                             <term>frameflag</term>
                             <listitem>
-                                <para>especifica como a moldura do esboço é computado. O valor
-                                    é um inteiro entre 0 e 8. Corresponde ao caractere
+                                <para>especifica como a moldura do esboço é computado. O valor
+                                    é um inteiro entre 0 e 8. Corresponde ao caractere
                                     <literal>y</literal> de <literal>strf</literal>. Ver
                                     abaixo.
                                 </para>
@@ -79,8 +82,8 @@
                         <varlistentry>
                             <term>axesflag</term>
                             <listitem>
-                                <para>especifica que tipo de eixos são desenhados ao redor do
-                                    esboço. O valor é um inteiro entre 0 e 5. Corresponde ao
+                                <para>especifica que tipo de eixos são desenhados ao redor do
+                                    esboço. O valor é um inteiro entre 0 e 5. Corresponde ao
                                     caractere <literal>z</literal> de <literal>strf</literal>. Ver
                                     abaixo.
                                 </para>
                 <term>strf</term>
                 <listitem>
                     <para>
-                        é um string de comprimento 3 <literal>"xyz"</literal>.
+                        é um string de comprimento 3 <literal>"xyz"</literal>.
                     </para>
                     <variablelist>
                         <varlistentry>
                             <term>default</term>
                             <listitem>
                                 <para>
-                                    o padrão é <literal>"081"</literal>.
+                                    o padrão é <literal>"081"</literal>.
                                 </para>
                             </listitem>
                         </varlistentry>
                                     <varlistentry>
                                         <term>x=1</term>
                                         <listitem>
-                                            <para>legendas são exibidas. Elas são dadas pelo
+                                            <para>legendas são exibidas. Elas são dadas pelo
                                                 argumento opcional <literal>leg</literal>.
                                             </para>
                                         </listitem>
                         <varlistentry>
                             <term>y</term>
                             <listitem>
-                                <para>controla a computação dos intervalos de coordenadas
-                                    reais a partir dos valores mínimos requeridos. Intervalos
-                                    reais podem ser maiores que os requerimentos mínimos.
+                                <para>controla a computação dos intervalos de coordenadas
+                                    reais a partir dos valores mínimos requeridos. Intervalos
+                                    reais podem ser maiores que os requerimentos mínimos.
                                 </para>
                                 <variablelist>
                                     <varlistentry>
                                         <term>y=0</term>
                                         <listitem>
-                                            <para>sem computação, o esboço utiliza a escala anterior
-                                                (ou padrão)
+                                            <para>sem computação, o esboço utiliza a escala anterior
+                                                (ou padrão)
                                             </para>
                                         </listitem>
                                     </varlistentry>
                                     <varlistentry>
                                         <term>y=2</term>
                                         <listitem>
-                                            <para>a partir dos valores mínimo/máximo dos dados x e
+                                            <para>a partir dos valores mínimo/máximo dos dados x e
                                                 y
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>y=3</term>
                                         <listitem>
-                                            <para>constrói uma escala isométrica a partir do
+                                            <para>constrói uma escala isométrica a partir do
                                                 argumento rect
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>y=4</term>
                                         <listitem>
-                                            <para>constrói um esboço em escala isométrica a partir
-                                                dos valores mínimo/máximo dos dados x e y
+                                            <para>constrói um esboço em escala isométrica a partir
+                                                dos valores mínimo/máximo dos dados x e y
                                             </para>
                                         </listitem>
                                     </varlistentry>
                                     <varlistentry>
                                         <term>y=5</term>
                                         <listitem>
-                                            <para>aumentados para obtenção de bons eixos a partir do
+                                            <para>aumentados para obtenção de bons eixos a partir do
                                                 argumento rect
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>y=6</term>
                                         <listitem>
-                                            <para>aumentados para obtenção de bons eixos a partir
-                                                dos valores mínimo/máximo dos dados x e y
+                                            <para>aumentados para obtenção de bons eixos a partir
+                                                dos valores mínimo/máximo dos dados x e y
                                             </para>
                                         </listitem>
                                     </varlistentry>
                                     <varlistentry>
                                         <term>y=7</term>
                                         <listitem>
-                                            <para>como y= 1 mas os anteriores são redesenhados para
+                                            <para>como y= 1 mas os anteriores são redesenhados para
                                                 se utilizar a nova escala
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>y=8</term>
                                         <listitem>
-                                            <para>como y= 2 mas os anteriores são redesenhados para
+                                            <para>como y= 2 mas os anteriores são redesenhados para
                                                 se utilizar a nova escala
                                             </para>
                                         </listitem>
                         <varlistentry>
                             <term>z</term>
                             <listitem>
-                                <para>controla a exibição de informação na moldura ao redor do
-                                    esboço. Se eixos são requeridos, o número de tiques pode ser
+                                <para>controla a exibição de informação na moldura ao redor do
+                                    esboço. Se eixos são requeridos, o número de tiques pode ser
                                     especificado pelo argumento opcional
                                     <literal>nax</literal>.
                                 </para>
                                     <varlistentry>
                                         <term>z=0</term>
                                         <listitem>
-                                            <para>nada é desenhado ao redor do esboço.</para>
+                                            <para>nada é desenhado ao redor do esboço.</para>
                                         </listitem>
                                     </varlistentry>
                                     <varlistentry>
                                         <term>z=1</term>
                                         <listitem>
-                                            <para>eixos são desenhados, o eixo y é exibido à
+                                            <para>eixos são desenhados, o eixo y é exibido à
                                                 esquerda.
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>z=2</term>
                                         <listitem>
-                                            <para>o esboço é cercado por uma caixa sem
+                                            <para>o esboço é cercado por uma caixa sem
                                                 tiques.
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>z=3</term>
                                         <listitem>
-                                            <para>eixos são desenhados, o eixo y é exibido à
+                                            <para>eixos são desenhados, o eixo y é exibido à
                                                 direita.
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>z=4</term>
                                         <listitem>
-                                            <para>eixos são desenhados centrados no meio da caixa de
+                                            <para>eixos são desenhados centrados no meio da caixa de
                                                 moldura.
                                             </para>
                                         </listitem>
                                     <varlistentry>
                                         <term>z=5</term>
                                         <listitem>
-                                            <para>eixos são desenhados cruzando-se no ponto
+                                            <para>eixos são desenhados cruzando-se no ponto
                                                 <literal>(0,0)</literal>. Se o ponto
-                                                <literal>(0,0)</literal> não estiver dentro da moldura,
-                                                os eixos não aparecerão no gráfico.
+                                                <literal>(0,0)</literal> não estiver dentro da moldura,
+                                                os eixos não aparecerão no gráfico.
                                             </para>
                                         </listitem>
                                     </varlistentry>
             <varlistentry>
                 <term>rect</term>
                 <listitem>
-                    <para>este argumento é utilizado quando o segundo caractere y do
-                        argumento <literal>strf</literal> é 1, 3 ou 5. É um vetor linha de
-                        tamanho quatro e fornece a dimensão da moldura:
+                    <para>este argumento é utilizado quando o segundo caractere y do
+                        argumento <literal>strf</literal> é 1, 3 ou 5. É um vetor linha de
+                        tamanho quatro e fornece a dimensão da moldura:
                         <literal>rect=[xmin,ymin,xmax,ymax]</literal>.
                     </para>
                 </listitem>
             <varlistentry>
                 <term>nax</term>
                 <listitem>
-                    <para>este argumento opcional é utilizado quando o terceiro
-                        caractere z do argumento <literal>strf</literal> é 1. É um vetor
+                    <para>este argumento opcional é utilizado quando o terceiro
+                        caractere z do argumento <literal>strf</literal> é 1. É um vetor
                         linha de quatro entradas <literal>[nx,Nx,ny,Ny]</literal> onde
-                        <literal>nx</literal> (<literal>ny</literal>) é o número de
-                        sub-graduações no eixo x (y) axis e <literal>Nx</literal>
-                        (<literal>Ny</literal>) é o número de graduações no eixo x
+                        <literal>nx</literal> (<literal>ny</literal>) é o número de
+                        sub-graduações no eixo x (y) axis e <literal>Nx</literal>
+                        (<literal>Ny</literal>) é o número de graduações no eixo x
                         (y).
                     </para>
                 </listitem>
         </variablelist>
     </refsection>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            As entradas da matriz <literal>int(a)</literal> são utilizadas como
+            As entradas da matriz <literal>int(a)</literal> são utilizadas como
             entradas do mapa de cor no mapa de cores corrente. A cor associada a
-            <literal>a(i,j)</literal> é utilizada para desenhar um pequeno quadrado de
+            <literal>a(i,j)</literal> é utilizada para desenhar um pequeno quadrado de
             lado 1 com centro localizado em
             <literal>(x=j,y=(n1-i+1))</literal>.
         </para>
         <para>
             Entre com o comando <literal>Matplot()</literal> para visualizar uma
-            demonstração.
+            demonstração.
         </para>
     </refsection>
     <refsection>
 Matplot([1 2 3;4 5 6])
 clf()
 // desenhando o mapa de cores corrente
-Matplot((1:xget("lastpattern")))
+nbcolors = size(gcf().color_map, 1);
+Matplot(1:nbcolors)
  ]]></programlisting>
+        <scilab:image>
+            nbcol = size(gcf().color_map, 1);
+            Matplot(1:nbcol)
+        </scilab:image>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="colormap">colormap</link>
index 474359b..a4d50fd 100644 (file)
                 </listitem>
             </varlistentry>
             <varlistentry>
-                <term>xget</term>
+                <term>get</term>
                 <listitem>
-                    <para>retorna valores correntes do contexto gráfico.</para>
+                     <para>
+                         Recupera o valor de uma propriedade do identificador de um gráfico ou de um
+                         objeto interativo.
+                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
index 4d54546..3c793b4 100644 (file)
@@ -116,7 +116,6 @@ clf()
 gcf().color_map = hotcolormap(nb_col);
 drawlater() ;
 colorbar(zzm,zzM,fmt="%.1f")
-nbcol = xget("lastpattern")
 zcol = dsearch(zf, linspace(zzm, zzM, nb_col+1));
 plot3d(xf, yf, list(zf, zcol), flag = [-2 6 4])
 xtitle("um plot3d com cores de gradação interpolada")
index 9c5aa12..5057359 100644 (file)
             </varlistentry>
             <varlistentry>
                 <term>
-                    <link linkend="xget">xget</link>
+                    <link linkend="get">get</link>
                 </term>
                 <listitem>
                     <para>
-                        Получение текущих значений графического окружения
-                        <warning>
-                            Эта функция устарела.
-                        </warning>
+                         Получает значение свойства от ручки графического элемента или
+                         интерактивный объект.
                     </para>
                 </listitem>
             </varlistentry>
index fcc9e4e..0668b72 100644 (file)
@@ -261,7 +261,7 @@ vmin = min(VF); vmax = max(VF);
 color = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 clf()
 gcf().color_map = jetcolormap(nb_col);
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color), flag=[-1 6 4])
 xtitle("tri-linear interpolation of "+func)
index 600c7d6..7538ff9 100644 (file)
@@ -131,7 +131,7 @@ vmin = min(VF); vmax = max(VF);
 color_example = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 gcf().color_map = jetcolormap(nb_col);
 clf();
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color_example), flag=[-1 6 4])
 xtitle("3d spline interpolation of "+func)
@@ -165,7 +165,7 @@ show_window()
             color_example = dsearch(VF,linspace(vmin,vmax,nb_col+1));
             gcf().color_map = jetcolormap(nb_col);
             clf();
-            gca().hiddencolor = xget("background");
+            gca().hiddencolor = gca().background;
             colorbar(vmin,vmax)
             plot3d(XF, YF, list(ZF,color_example), flag=[-1 6 4])
             xtitle("3d spline interpolation of "+func)
index 4504634..752ae52 100644 (file)
@@ -256,7 +256,7 @@ vmin = min(VF); vmax = max(VF);
 color = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 gcf().color_map = jetcolormap(nb_col);
 clf()
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color), flag=[-1 6 4])
 xtitle("tri-linear interpolation of "+func)
index 814c096..9874aa6 100644 (file)
@@ -131,7 +131,7 @@ vmin = min(VF); vmax = max(VF);
 color = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 gcf().color_map = jetcolormap(nb_col);
 clf();
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color), flag=[-1 6 4])
 xtitle("3d spline interpolation of "+func)
@@ -165,7 +165,7 @@ show_window()
             color_example = dsearch(VF,linspace(vmin,vmax,nb_col+1));
             gcf().color_map = jetcolormap(nb_col);
             clf();
-            gca().hiddencolor = xget("background");
+            gca().hiddencolor = gca().background;
             colorbar(vmin,vmax)
             plot3d(XF, YF, list(ZF,color_example), flag=[-1 6 4])
             xtitle("3d spline interpolation of "+func)
index 80e1f97..bd7aa75 100644 (file)
@@ -21,7 +21,7 @@
                 <term>x1 ,x2, ..., xn</term>
                 <listitem>
                     <para> vetores linhas estritamente crescentes (com pelo menos 2
-                        elementos) definindo o grid de interpolação n-dimensional 
+                        elementos) definindo o grid de interpolação n-dimensional
                     </para>
                 </listitem>
             </varlistentry>
@@ -30,7 +30,7 @@
                 <listitem>
                     <para>vetor (caso n=1), matriz (caso n=2) ou hipermatriz (caso n
                         &gt; 2) com valores da função subjacente interpolada nos pontos do
-                        grid. 
+                        grid.
                     </para>
                 </listitem>
             </varlistentry>
@@ -226,7 +226,7 @@ vmin = min(VF); vmax = max(VF);
 color = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 clf()
 gcf().color_map = jetcolormap(nb_col);
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color), flag=[-1 6 4])
 xtitle("Interpolação trilinear de"+func)
index daa7766..0c718f1 100644 (file)
@@ -125,7 +125,7 @@ vmin = min(VF); vmax = max(VF);
 color = dsearch(VF,linspace(vmin,vmax,nb_col+1));
 gcf().color_map = jetcolormap(nb_col);
 clf();
-gca().hiddencolor = xget("background");
+gca().hiddencolor = gca().background;
 colorbar(vmin,vmax)
 plot3d(XF, YF, list(ZF,color), flag=[-1 6 4])
 xtitle("interpolação por spline 3d da função "+func)