Help: Fixed warnings during help generation 90/18390/3
Pierre-Aime AGNEL [Mon, 25 Jul 2016 14:17:47 +0000 (16:17 +0200)]
Change-Id: Ife7c44d326889219d1952ed9412e4a99e6b345ba

scilab/modules/graphics/help/en_US/2d_plot/plot.xml
scilab/modules/graphics/help/fr_FR/2d_plot/contourf.xml
scilab/modules/graphics/help/ja_JP/2d_plot/plot.xml
scilab/modules/graphics/help/ja_JP/2d_plot/plot2d.xml
scilab/modules/graphics/help/ja_JP/2d_plot/polarplot.xml
scilab/modules/graphics/help/ja_JP/polygon/xfpolys.xml
scilab/modules/graphics/help/pt_BR/polygon/xfpolys.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/contourf_2.png
scilab/modules/helptools/images/plot_5.png
scilab/modules/helptools/images/polarplot_4.png

index be394c9..c5bb434 100644 (file)
@@ -323,7 +323,6 @@ a.x_location = "origin";
 a.y_location = "origin";
 
 // Some operations on entities created by plot ...
-a=gca();
 isoview("on");
 a.children // list the children of the axes : here it is an Compound child composed of 2 entities
 poly1= a.children.children(2); //store polyline handle into poly1
@@ -339,8 +338,6 @@ isoview("off");
             a=gca();
             a.x_location = "origin";
             a.y_location = "origin";
-
-            a=gca();
             a.children
             poly1= a.children.children(2);
             poly1.foreground = 4;
index 1673156..ba879bd 100644 (file)
@@ -146,24 +146,22 @@ clf();
 contourf([],[],z,[-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8]);
  ]]></programlisting>
         <scilab:image>
-            function z = peaks(x,y)
-            x1 = x(:).*.ones(1,size(y,'*'));
-            y1 = y(:)'.*.ones(size(x,'*'),1);
-            z =  (3*(1-x1).^2).*exp(-(x1.^2) - (y1+1).^2) ...
-            - 10*(x1/5 - x1.^3 - y1.^5).*exp(-x1.^2-y1.^2) ...
-            - 1/3*exp(-(x1+1).^2 - y1.^2)
+            function z=peaks(x,y)
+            x1=x(:).*.ones(1,size(y,'*'));
+            y1=y(:)'.*.ones(size(x,'*'),1);
+            z =  (3*(1-x1).^2).*exp(-(x1.^2) - (y1+1).^2) ... 
+            - 10*(x1/5 - x1.^3 - y1.^5).*exp(-x1.^2-y1.^2) ... 
+            - 1/3*exp(-(x1+1).^2 - y1.^2) 
             endfunction
-
+            
             function z=peakit()
-                x = -4:0.1:4
-                y = x
-                z = peaks(x,y)
+            x=-4:0.1:4;y=x;z=peaks(x,y);
             endfunction
-
-            z = peakit();
-
-            levels = [-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8];
-            m = size(levels,'*');
+            
+            z=peakit();
+            
+            levels=[-6:-1,-logspace(-5,0,10),logspace(-5,0,10),1:8];
+            m=size(levels,'*');
             n = fix(3/8*m);
             r = [(1:n)'/n; ones(m-n,1)];
             g = [zeros(n,1); (1:n)'/n; ones(m-2*n,1)];
index ea874df..cf41471 100644 (file)
@@ -348,7 +348,6 @@ a.x_location = "origin";
 a.y_location = "origin";
 // plotにより作成されたエンティティに複数の処理を行う
 isoview()
-a=gca();
 a.children // 軸の子のリスト : ここでは,2個のエンティティの複合子オブジェクト
 poly1= a.children.children(2); //線分群のハンドルをpoly1 に保存
 poly1.foreground = 4; // スタイルを変更する別の方法...
@@ -359,6 +358,7 @@ isoview("off")
         <scilab:image>
             x=[0:0.1:2*%pi]';
             plot(x-4,sin(x),x+2,cos(x))
+            isoview()
             a=gca();
             a.x_location = "origin";
             a.y_location = "origin";
@@ -367,6 +367,7 @@ isoview("off")
             poly1.foreground = 4;
             poly1.thickness = 3;
             poly1.clip_state='off'
+            isoview("off");
         </scilab:image>
         <programlisting role="example"><![CDATA[
 //LineSpec と GlobalProperty の例:
@@ -608,4 +609,4 @@ plot(1:10,toto)
             </member>
         </simplelist>
     </refsection>
-</refentry>
\ No newline at end of file
+</refentry>
index ed3dc27..f51b2ae 100644 (file)
@@ -819,9 +819,6 @@ isoview("off")
                 <link linkend="plot">plot</link>
             </member>
             <member>
-                <link linkend="plot2d1">plot2d1</link>
-            </member>
-            <member>
                 <link linkend="plot2d2">plot2d2</link>
             </member>
             <member>
index 5bc8ddc..91fcbcc 100644 (file)
@@ -304,11 +304,11 @@ polarplot(t, -1 + sin(t));
   gca().data_bounds = [-1.2,-1.2;1.2,01.2];
  ]]></programlisting>
         <scilab:image>
-            theta = [0:0.02:2*%pi]';
-            rho = 1+0.2*cos(theta.^2);
+            theta=[0:0.02:2*%pi]';
+            rho=1+0.2*cos(theta.^2)
             polarplot(theta,rho,style=5)
             isoview()
-            gca().data_bounds = [-1.2,-1.2;1.2,01.2];
+            gca().data_bounds=[-1.2,-1.2;1.2,01.2]
         </scilab:image>
     </refsection>
-</refentry>
\ No newline at end of file
+</refentry>
index ffa08d0..74c6242 100644 (file)
@@ -237,4 +237,4 @@ xfpolys(X,Y,C)
             </member>
         </simplelist>
     </refsection>
-</refentry>
\ No newline at end of file
+</refentry>
index 8ca74e6..dfd7553 100644 (file)
@@ -130,7 +130,7 @@ xfpolys(xpols,ypols,[-1,0,1,2])
             ypols=[y1 y1 y1 y1];
             xfpolys(xpols,ypols,[-1,0,1,2])
         </scilab:image>
-
+        
         <programlisting role="example"><![CDATA[
 // cores interpoladas
 clf()
@@ -151,7 +151,7 @@ xfpolys(xpols,ypols,cols)
             f=gcf();
             a=gca();
             a.data_bounds=[0,-10;40,30];
-            isoview
+            isoview();
             x1=[0,10,20,10]';
             y1=[10,0,10,20]';
             c=linspace(2,100,4)';
@@ -220,7 +220,7 @@ xfpolys(X,Y,C)
             Y=[y11 y12 y21 y22 y31 y32];
             C=([c11 c12 c21 c22 c31 c32]+1)*5;
             a=gca();
-            isoview()
+            isoview();
             a.data_bounds=[min(X),min(Y);max(X),max(Y)];
             f=gcf();
             f.color_map=graycolormap(max(C));
index b9ac0bc..5618ca6 100644 (file)
@@ -1122,7 +1122,7 @@ plot_16.png=422149b7b3015c0185857b4a9eb1d966
 plot_2.png=1c9822aea3c0649c26bcd64a65bf39f7
 plot_3.png=ce8a2e0b714b49035e7529d78cd3a10f
 plot_4.png=1c8f1479946652d256e5ee7533690ea6
-plot_5.png=b10dd5309814bbe370213a826ffb90ab
+plot_5.png=82aabbb95b90c8f3d3a7b8c3d384184e
 plot_6.png=76981d7518e409d672ee0752e8b7aef0
 plot_7.png=3e6f75be9834e9fd7f447db3767a3b6
 plot_8.png=d5e18d03116f8af7abcef68336ed5b9a
index 3f6913d..b5ff1df 100644 (file)
Binary files a/scilab/modules/helptools/images/contourf_2.png and b/scilab/modules/helptools/images/contourf_2.png differ
index de2196b..88f2662 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_5.png and b/scilab/modules/helptools/images/plot_5.png differ
index 681d8cc..962b3a9 100644 (file)
Binary files a/scilab/modules/helptools/images/polarplot_4.png and b/scilab/modules/helptools/images/polarplot_4.png differ