Documentation: fix the plot and plot2d localized image re-generation 83/17883/2
Clément DAVID [Thu, 10 Mar 2016 09:17:39 +0000 (10:17 +0100)]
Change-Id: I57605393b483443b6e5cddea67755d2fc01d4f34

scilab/modules/graphics/help/en_US/2d_plot/plot.xml
scilab/modules/graphics/help/ja_JP/2d_plot/plot.xml
scilab/modules/graphics/help/ja_JP/2d_plot/plot2d.xml

index 2d89c2a..758ea7f 100644 (file)
@@ -347,7 +347,6 @@ a.isoview='off';
             poly1.thickness = 3;
             poly1.clip_state='off'
             a.isoview='off';
-            
         </scilab:image>
         <programlisting role="example"><![CDATA[
 
index 0ec0058..72b78a2 100644 (file)
@@ -663,15 +663,10 @@ a.y_location ="right";
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
-            plot(x,sin(x)) 
-            
+            plot(x,sin(x))
             a=gca();
-            
-            a.y_location ="right"; 
-            
+            a.y_location ="right";
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -711,37 +706,20 @@ a.isoview='off';
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot(x-4,sin(x),x+2,cos(x))
-            
             a=gca();
-            
             a.x_location = "origin";
-            
             a.y_location = "origin";
             
-            
-            
             a=gca();
-            
             a.isoview='on';
-            
             a.children
-            
             poly1= a.children.children(2);
-            
             poly1.foreground = 4;
-            
             poly1.thickness = 3;
-            
             poly1.clip_state='off'
-            
             a.isoview='off';
-            
-            
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -773,23 +751,14 @@ xdel(winsid())
  ]]></programlisting>
         
         <scilab:image>
-            
             t=0:%pi/20:2*%pi;
-            
             plot(t,sin(t),'ro-.',t,cos(t),'cya+',t,abs(sin(t)),'--mo')
-            
             scf(2)
-            
             plot([t ;t],[sin(t) ;cos(t)],'xdat',[1:2])
-            
             scf(3)
-            
             axfig3 = gca();
-            
             scf(4) // should remain blank
-            
             plot(axfig3,[t ;t],[sin(t) ;cos(t)],'zdat',[1:2],'marker','d','markerfac','green','markeredg','yel')
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -805,13 +774,9 @@ plot(t) // ベクトルtの大きさに対してyをプロット
  ]]></programlisting>
         
         <scilab:image>
-            
             t=-%pi:0.1:%pi;
-            
             size(t)
-            
             plot(t)
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -825,11 +790,8 @@ plot(t,sin(t)); // tに対してsin(t)をプロット
  ]]></programlisting>
         
         <scilab:image>
-            
             t=-%pi:0.1:%pi;
-            
             plot(t,sin(t));
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -853,19 +815,12 @@ plot(t) // 行の大きさに対してtの各列をプロット
  ]]></programlisting>
         
         <scilab:image>
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
             
-            
-            
             plot(t) // plots each t column versus row size
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -913,45 +868,25 @@ xtitle("sin(t)'' versus t''")
  ]]></programlisting>
         
         <scilab:image>
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
             
-            
-            
             subplot(221)
-            
             plot(t,sin(t)); // plots sin(t) versus t column by column this time
-            
             xtitle("sin(t) versus t")
-            
             subplot(222)
-            
             plot(t,sin(t)')
-            
             xtitle("sin(t)'' versus t")
-            
             subplot(223)
-            
             plot(t',sin(t))
-            
             a=gca();
-            
-            a.data_bounds=[0 -1;7 1]; // to see the vertical line hiddden by the y axis
-            
+            a.data_bounds=[0 -1;7 1]; // to see the vertical line hidden by the y axis
             xtitle("sin(t) versus t''")
-            
             subplot(224)
-            
             plot(t',sin(t)')
-            
             xtitle("sin(t)'' versus t''")
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -979,21 +914,13 @@ plot(x',t); // idem, x はtに一致するように自動的に転置される (
  ]]></programlisting>
         
         <scilab:image>
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
             
-            
-            
             x=[5 6 7 8];
-            
             plot(x',t);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1039,41 +966,23 @@ clf()
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[5 6 7 8]
             
-            
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
             
-            
-            
             // Only one matching possibility case : how to make 4 identical plots in 4 manners...
-            
             // x is 1x4 (vector) and y is 4x5 (non square matrix)
-            
             subplot(221);
-            
             plot(x',[t [8;9;10;12]]);
-            
             subplot(222);
-            
             plot(x',[t [8;9;10;12]]);
-            
             subplot(223);
-            
             plot(x',[t [8;9;10;12]]);
-            
             subplot(224);
-            
             plot(x',[t [8;9;10;12]]);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1105,25 +1014,15 @@ clf();
  ]]></programlisting>
         
         <scilab:image>
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
             
-            
-            
             //Special case 2
-            
             // Case where only x or y is a square matrix
-            
             //x : matrix (t) and y  : vector ([1 2 3 4])
-            
             plot(t,[1 2 3 4]') // equivalent to plot(t,[1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4])
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1203,11 +1102,8 @@ plot(1:10,toto)
  ]]></programlisting>
         
         <scilab:image>
-            
             deff('[y]=toto(x)','y=x.*x')
-            
             plot(1:10,toto)
-            
         </scilab:image>
         
     </refsection>
index 15b3330..3e147ae 100644 (file)
@@ -1359,11 +1359,8 @@ plot2d(sin(x));
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(sin(x));
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1379,11 +1376,8 @@ plot2d(x,sin(x));
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x));
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1397,11 +1391,8 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)])
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,[sin(x) sin(2*x) sin(3*x)])
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1415,11 +1406,8 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)],rect=[0,0,6,0.5]);
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,[sin(x) sin(2*x) sin(3*x)],rect=[0,0,6,0.5]);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1435,13 +1423,9 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)],..
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,[sin(x) sin(2*x) sin(3*x)],..
-            
             [1,2,3],leg="L1@L2@L3",nax=[2,10,2,10],rect=[0,-2,2*%pi,2]);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1455,11 +1439,8 @@ plot2d(x,sin(x),1,frameflag= 4);
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x),1,frameflag= 4);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1473,11 +1454,8 @@ plot2d(x,sin(x),1,frameflag= 6);
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x),1,frameflag= 6);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1495,15 +1473,10 @@ plot2d(2*x,cos(x),3);
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x),-1);
-            
             plot2d(x,2*sin(x),12); 
-            
             plot2d(2*x,cos(x),3);
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1521,15 +1494,10 @@ a.y_location ="right";
  ]]></programlisting>
         
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x),leg="sin(x)");
-            
             a=gca(); // Handle on axes entity 
-            
             a.y_location ="right"; 
-            
         </scilab:image>
         
         <programlisting role="example"><![CDATA[ 
@@ -1578,48 +1546,26 @@ a.isoview='off';
         
         <scilab:image>
             
-            
-            
             // axis centered at (0,0) 
-            
             clf();
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x-4,sin(x),1,leg="sin(x)");
-            
             a=gca(); // Handle on axes entity
-            
             a.x_location = "origin"; 
-            
             a.y_location = "origin"; 
-            
             // Some operations on entities created by plot2d ...
-            
             a=gca();
-            
             a.isoview='on'; 
-            
             a.children // list the children of the axes.
-            
             // There are a compound made of two polylines and a legend 
-            
             poly1= a.children(1).children(1); //store polyline handle into poly1 
-            
             poly1.foreground = 4; // another way to change the style...
-            
-            poly1.thickness = 3;  // ...and the tickness of a curve.
-            
+            poly1.thickness = 3;  // ...and the thickness of a curve.
             poly1.clip_state='off'; // clipping control
-            
             leg = a.children(2); // store legend handle into leg
-            
             leg.font_style = 9; 
-            
             leg.line_mode = "on";
-            
             a.isoview='off';
-            
         </scilab:image>
         
     </refsection>