isoview: updating calls after I3cbdeed 66/18166/11
Samuel Gougeon [Fri, 13 May 2016 14:15:04 +0000 (16:15 +0200)]
Change-Id: Id5c2f6f90a06dedc6442451e5d404d577b40f1e0

55 files changed:
scilab/modules/cacsd/demos/flat/car.sci
scilab/modules/cacsd/demos/flat/truck.sci
scilab/modules/cacsd/demos/pendulum/graphics.sci
scilab/modules/differential_equations/demos/dae/dae1/pend3d1.dem.sce
scilab/modules/differential_equations/demos/dae/dae2/demo_sliding_pendulum.sci
scilab/modules/differential_equations/demos/dae/dae2/pendg.sci
scilab/modules/differential_equations/demos/levitron/levitron_gui.sci
scilab/modules/differential_equations/demos/wheel/wheel_show.sci
scilab/modules/graphics/demos/2d_3d_plots/mandelbrot.dem.sce
scilab/modules/graphics/demos/anim/anim7/anim7.sce
scilab/modules/graphics/demos/bezier/gammatest.sce
scilab/modules/graphics/demos/matplot/mandelbrot.dem.sce
scilab/modules/graphics/demos/surface/sphere.sce
scilab/modules/graphics/help/en_US/2d_plot/comet.xml
scilab/modules/graphics/help/en_US/2d_plot/plot.xml
scilab/modules/graphics/help/en_US/2d_plot/plot2d.xml
scilab/modules/graphics/help/en_US/2d_plot/polarplot.xml
scilab/modules/graphics/help/en_US/datatips/orthProj.xml
scilab/modules/graphics/help/en_US/polygon/xfpolys.xml
scilab/modules/graphics/help/ja_JP/2d_plot/comet.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/axes_operations/axes_properties.xml
scilab/modules/graphics/help/ja_JP/datatips/orthProj.xml
scilab/modules/graphics/help/ja_JP/polygon/xfpolys.xml
scilab/modules/graphics/help/pt_BR/2d_plot/plot.xml
scilab/modules/graphics/help/pt_BR/2d_plot/plot2d.xml
scilab/modules/graphics/help/pt_BR/polygon/xfpolys.xml
scilab/modules/graphics/help/ru_RU/2d_plot/comet.xml
scilab/modules/graphics/macros/%_Matplot.sci
scilab/modules/graphics/macros/graypolarplot.sci
scilab/modules/graphics/macros/isoview.sci
scilab/modules/graphics/macros/pie.sci
scilab/modules/graphics/tests/nonreg_tests/bug_7067.dia.ref [deleted file]
scilab/modules/graphics/tests/nonreg_tests/bug_7067.tst [deleted file]
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/orthProj_1.png
scilab/modules/helptools/images/plot2d_10.png
scilab/modules/helptools/images/plot_5.png
scilab/modules/helptools/images/polarplot_4.png
scilab/modules/helptools/images/xfpolys_2.png
scilab/modules/linear_algebra/help/en_US/factorization/householder.xml
scilab/modules/linear_algebra/help/fr_FR/factorization/householder.xml
scilab/modules/linear_algebra/help/ja_JP/factorization/householder.xml
scilab/modules/linear_algebra/help/pt_BR/factorization/householder.xml
scilab/modules/linear_algebra/macros/householder.sce
scilab/modules/optimization/demos/neldermead/polygon.sce
scilab/modules/scicos_blocks/macros/Misc/bplatform2.sci
scilab/modules/scicos_blocks/macros/Sinks/BARXY_sim.sci
scilab/modules/slint/src/cpp/DeprecatedChecker.cpp
scilab/modules/statistics/macros/show_pca.sci
scilab/modules/xcos/demos/anim_pen.sci
scilab/modules/xcos/macros/generateBlockImage.sci
scilab/modules/xcos/tests/unit_tests/anim_pen.sci

index 6ccf875..3bb3d8b 100644 (file)
@@ -74,10 +74,12 @@ endfunction
 
 function display_car_trajectory(state)
     bigL=1
-    set figure_style new;clf();show_window()
+    set figure_style new;
+    clf();
+    show_window()
     a=gca()
     drawlater()
-    a.isoview="on"
+    isoview()
     a.data_bounds=[min(state(:,1))-0.5*bigL, min(state(:,2))-1.5*bigL
     max(state(:,1))+1.5*bigL, max(state(:,2))+1.5*bigL]
     rect=matrix(a.data_bounds',-1,1)
index 43f9483..2d599ab 100644 (file)
@@ -202,7 +202,7 @@ function display_truck_trajectory(state)
     bigL = 1 ; d1 = 1.5 ; d2 = 1;
     a=gca();
     drawlater();
-    a.isoview="on"
+    isoview("on")
     a.data_bounds=[min(state(:,1))-1.5*(d1+d2), min(state(:,2))-bigL
     max(state(:,1))+1.5*bigL, max(state(:,2))+bigL]
     rect=matrix(a.data_bounds',-1,1)
index 2612425..86a6be2 100644 (file)
@@ -6,7 +6,9 @@
 //
 
 function P=initialize_display(xg,teta)
-    clf();a=gca();a.isoview="on";
+    clf();
+    a=gca();
+    isoview()
     drawlater();//f=gcf();
     a.data_bounds=[-0.4 -0.2;0.4 0.3];
     a.margins=zeros(1,4);
@@ -23,7 +25,7 @@ function [P]=dpnd()
     clf();
     drawlater()
     a=gca();
-    a.isoview="on";
+    isoview()
     f = gcf() ;
     f.axes_size = [640,480];
     a.data_bounds=[0 0;100 100];
@@ -133,8 +135,8 @@ function draw1()
     xpoly(1,y(2,1));;p2=gce();
 
     a3=newaxes();
+    isoview()
     a3.axes_bounds= [0,0.5,1,0.5];
-    a3.isoview="on";
     a3.data_bounds=[-0.4 -0.1;0.4 0.4];
     a3.box = "on";
     y1=0;lb=l;hc=0.05;lc=0.1;teta=100*y(2,1);r=0.013;xg=100*y(1,1);
@@ -188,8 +190,8 @@ function draw2()
     xpoly(t1(1),thetaE(1));p3=gce();p3.line_style=2;
 
     a3=newaxes();
+    isoview()
     a3.axes_bounds= [0,0.5,1,0.5];
-    a3.isoview="on";
     a3.data_bounds=[-0.4 -0.1;0.4 0.4];
     a3.box = "on";
     y1=0;lb=l;hc=0.05;lc=0.1;;r=0.013;
index 0cf1b62..d7de02c 100644 (file)
@@ -104,11 +104,11 @@ function demo_pend3d1()
 
     drawlater()
     title(_("spherical pendulum simulation"),"fontsize",3)
+    isoview()
     a                 = gca();
     a.view            = "3d";
     a.box             = "on";
     a.margins         = [0.1 0 0.2 0.1];
-    a.isoview         = "on"
     a.grid            =color("lightgray")*ones(1,3);
     a.rotation_angles = [35 45];
     a.axes_visible    = "on";
index fae3347..36410f8 100644 (file)
@@ -106,7 +106,7 @@ function  H=build_sliding_pendulum ()
     ymin=-1.1;
     ymax=2.35
     a.data_bounds=[xmin ymin;xmax ymax]
-    a.isoview = "on";
+    isoview();
     //the framework
     xrect(xmin,ymax,xmax-xmin,ymax-ymin)
     //the curve
index 894461f..2fccd73 100644 (file)
@@ -41,7 +41,7 @@ function  H=build_sliding_pendulum ()
     ymin = -1.1;
     ymax =  2.25;
     a.data_bounds=[xmin ymin;xmax ymax]
-    a.isoview = "on";
+    isoview()
 
     //the framework
     xrect(xmin,ymax,xmax-xmin,ymax-ymin)
index 2ef6547..e48981f 100644 (file)
@@ -41,6 +41,7 @@ function [H]=build_levitron(h)
     plot3d([-1 1]*1.5, [-1 1]*1.5, zeros(2, 2))
     e=gce();e.color_mode=color("red");
 
+    isoview()
     levitron_axes = gca();
     //Axes definition for the plot
     //plot will be on the left-hand side of the screen
@@ -51,14 +52,13 @@ function [H]=build_levitron(h)
     levitron_axes.axes_visible="off";
     levitron_axes.box="off";
     levitron_axes.cube_scaling="on";
-    levitron_axes.isoview="on";
     levitron_axes.rotation_angles=[76 45];
     levitron_axes.foreground=N
     levitron_axes.x_label.text=""
     levitron_axes.y_label.text=""
     levitron_axes.z_label.text=""
 
-    immediate_drawing ="on"
+    f.immediate_drawing ="on"
     f.visible = "on"
 endfunction
 
index 2f78c72..0337bc8 100644 (file)
@@ -63,10 +63,10 @@ function []=wheel_show(xx,t,p)
     show_window();
     title([_("Simulation of mechanical system with holonomic constraints")
     _("Differential equations code generated by Maple")])
+    isoview();
     curAxe                 = gca();
     curAxe.axes_visible    = "off"
     curaxe.tight_limits    = "on";
-    curaxe.isoview         = "on";
     curAxe.data_bounds     = [xmin ymin zmin;xmax ymax zmax];
     curAxe.rotation_angles = [t p]*180/%pi
     // The floor
index a265f89..3f52adf 100644 (file)
@@ -79,8 +79,8 @@ function demo_mandelbrot()
     Matplot1(matrix(A,size(M)),[xmin ymin xmax ymax]);
 
     // Post-tuning the graphics
+    isoview();
     ca = gca();
-    ca.isoview = "on";
     ca.data_bounds = [xmin ymin ; xmax ymax];
     ca.tight_limits = "on";
     ca.axes_visible = ["on" "on" "off"];
index 3ba0614..f8f2cdb 100644 (file)
@@ -60,13 +60,13 @@ function demo_anim7()
     e = gce();
     data=e.data;
     title("shell","fontsize",3)
+    isoview()
 
     curAxe=gca();
     // set 3D boundaries
     curAxe.data_bounds=[-15 -5 -10; 10  5  12];
     //set view angles
     curAxe.rotation_angles=[103 138];
-    curAxe.isoView = "on";
 
 
     //animation loop
index ba26992..07f99b0 100644 (file)
@@ -21,8 +21,8 @@ function gammatest (N)
     clf(my_handle,"reset");
 
     plot2d(cos(2*%pi*x),sin(2*%pi*x));
+    isoview()
     ax     = gca();
-    ax.isoview = "on";
     title("Bezier curve approximating a circle","fontsize",3);
     icol=2;
 
index a265f89..f08e59a 100644 (file)
@@ -79,8 +79,8 @@ function demo_mandelbrot()
     Matplot1(matrix(A,size(M)),[xmin ymin xmax ymax]);
 
     // Post-tuning the graphics
+    isoview()
     ca = gca();
-    ca.isoview = "on";
     ca.data_bounds = [xmin ymin ; xmax ymax];
     ca.tight_limits = "on";
     ca.axes_visible = ["on" "on" "off"];
index f604be7..228df04 100644 (file)
@@ -27,11 +27,11 @@ function sphere()
 
     my_handle.immediate_drawing = "off";
     plot3d2(x,y,z);
+    isoview()
     my_plot                     = my_axe.children;
     my_handle.color_map         = jetcolormap(128);
     my_plot.color_flag          = 1;
     my_axe.rotation_angles      = [51,96];
-    my_axe.isoview = "on";
     my_handle.immediate_drawing = "on";
 
 endfunction
index 5933b4b..2d3cb68 100644 (file)
                 case <literal>ny</literal> is the number of rows of
                 <varname>x</varname> and <varname>y</varname>.
             </para>
-            
+
             <para>
                 <literal>comet(...,"colors",c)</literal> can be used to set the colors of each curves.
             </para>
-            
+
         </para>
     </refsection>
     <refsection>
         <programlisting role="example"><![CDATA[
 t = linspace(0,10*%pi,500);
 clf();
-set(gca(),"isoview","on"); //set isoview axes
+isoview; //set isoview axes
 comet(t.*sin(t), t.*cos(t))
     ]]></programlisting>
         <programlisting role="example"><![CDATA[
index 758ea7f..462c88d 100644 (file)
@@ -324,29 +324,29 @@ a.y_location = "origin";
 
 // Some operations on entities created by plot ...
 a=gca();
-a.isoview='on';
+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
 poly1.foreground = 4; // another way to change the style...
 poly1.thickness = 3;  // ...and the thickness of a curve.
 poly1.clip_state='off' // clipping control
-a.isoview='off';
+isoview("off");
  ]]></programlisting>
         <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";
-            
+
             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';
+            isoview("off");
         </scilab:image>
         <programlisting role="example"><![CDATA[
 
index e9f0a65..42b705f 100644 (file)
@@ -27,7 +27,7 @@
             plot2d([logflag,][x,],y,&lt;opt_args&gt;)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>plot2d</literal> plots a set of 2D curves. If you are
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>More information</title>
-        <para>By default, successive plots are superposed. To clear the previous
-            plot, use 
+        <para>By default, successive plots are superposed. To clear the previous plot, use
             <literal>
                 <link linkend="clf">clf()</link>
             </literal>
             </listitem>
         </itemizedlist>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-// x initialisation 
+        <programlisting role="example"><![CDATA[
+// x initialisation
 x=[0:0.1:2*%pi]';
 //simple plot
 plot2d(sin(x));
@@ -677,7 +676,7 @@ plot2d(sin(x));
             x=[0:0.1:2*%pi]';
             plot2d(sin(x));
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 clf();
 x=[0:0.1:2*%pi]';
 plot2d(x,sin(x));
@@ -687,7 +686,7 @@ plot2d(x,sin(x));
             x=[0:0.1:2*%pi]';
             plot2d(x,sin(x));
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 clf();
 x=[0:0.1:2*%pi]';
 plot2d(x,[sin(x) sin(2*x) sin(3*x)])
@@ -696,7 +695,7 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)])
             x=[0:0.1:2*%pi]';
             plot2d(x,[sin(x) sin(2*x) sin(3*x)])
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 // multiple plot giving the dimensions of the frame
 clf();
 x=[0:0.1:2*%pi]';
@@ -706,7 +705,7 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)],rect=[0,0,6,0.5]);
             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[ 
+        <programlisting role="example"><![CDATA[
 //multiple plot with captions and given tics + style
 clf();
 x=[0:0.1:2*%pi]';
@@ -718,7 +717,7 @@ plot2d(x,[sin(x) sin(2*x) sin(3*x)],..
             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[ 
+        <programlisting role="example"><![CDATA[
 // isoview
 clf();
 x=[0:0.1:2*%pi]';
@@ -728,8 +727,8 @@ plot2d(x,sin(x),1,frameflag= 4);
             x=[0:0.1:2*%pi]';
             plot2d(x,sin(x),1,frameflag= 4);
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
-// scale 
+        <programlisting role="example"><![CDATA[
+// scale
 clf();
 x=[0:0.1:2*%pi]';
 plot2d(x,sin(x),1,frameflag= 6);
@@ -738,81 +737,79 @@ plot2d(x,sin(x),1,frameflag= 6);
             x=[0:0.1:2*%pi]';
             plot2d(x,sin(x),1,frameflag= 6);
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 // auto scaling with previous plots + style
 clf();
 x=[0:0.1:2*%pi]';
 plot2d(x,sin(x),-1);
-plot2d(x,2*sin(x),12); 
+plot2d(x,2*sin(x),12);
 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(x,2*sin(x),12);
             plot2d(2*x,cos(x),3);
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
-// axis on the right 
+        <programlisting role="example"><![CDATA[
+// axis on the right
 clf();
 x=[0:0.1:2*%pi]';
 plot2d(x,sin(x),leg="sin(x)");
-a=gca(); // Handle on axes entity 
-a.y_location ="right"; 
+a=gca(); // Handle on axes entity
+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"; 
+            a=gca(); // Handle on axes entity
+            a.y_location ="right";
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 
-// axis centered at (0,0) 
+// 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"; 
+a.x_location = "origin";
+a.y_location = "origin";
 // Some operations on entities created by plot2d ...
+isoview()
 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 
+// 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 thickness of a curve.
 poly1.clip_state='off'; // clipping control
 leg = a.children(2); // store legend handle into leg
-leg.font_style = 9; 
+leg.font_style = 9;
 leg.line_mode = "on";
-a.isoview='off';
+isoview("off")
  ]]></programlisting>
         <scilab:image>
-            
-            // axis centered at (0,0) 
+            // 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"; 
+            a.x_location = "origin";
+            a.y_location = "origin";
             // Some operations on entities created by plot2d ...
+            isoview()
             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 
+            // 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 thickness of a curve.
             poly1.clip_state='off'; // clipping control
             leg = a.children(2); // store legend handle into leg
-            leg.font_style = 9; 
+            leg.font_style = 9;
             leg.line_mode = "on";
-            a.isoview='off';
+            isoview("off")
         </scilab:image>
-        
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 5ca1638..90d986e 100644 (file)
@@ -287,14 +287,12 @@ clf();polarplot([sin(7*t') sin(6*t')],[cos(8*t') cos(8*t')],[1,2])
  ]]></programlisting>
         <scilab:image>
             t= 0:.01:2*%pi;
-            
             clf();polarplot([sin(7*t') sin(6*t')],[cos(8*t') cos(8*t')],[1,2])
         </scilab:image>
-        
     </refsection>
     <refsection>
         <title>Example 3</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 t = 0:0.01:2*%pi;
 polarplot(t, -1 + sin(t));
 
@@ -308,21 +306,18 @@ polarplot(t, -1 + sin(t));
         <title>Example 4</title>
         <programlisting role="example"><![CDATA[
   clf()
+  isoview()
   theta=[0:0.02:2*%pi]';
   rho=1+0.2*cos(theta.^2)
   polarplot(theta,rho,style=5)
-  a=gca()
-  a.isoview='on'
-  a.data_bounds=[-1.2,-1.2;1.2,01.2] 
+  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)
             polarplot(theta,rho,style=5)
-            a=gca()
-            a.isoview='on'
-            a.data_bounds=[-1.2,-1.2;1.2,01.2] 
-            
+            isoview()
+            gca().data_bounds=[-1.2,-1.2;1.2,01.2]
         </scilab:image>
     </refsection>
 </refentry>
index 8e7bb7a..0386479 100644 (file)
@@ -20,7 +20,7 @@
         <title>Syntax</title>
         <synopsis>[d,ptp,ind,c] = orthProj(data,pt)</synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             Computes the orthogonal projection of a point to a polyline in the plane.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
     x=linspace(0,1,30)';
     y=sin(4*x.^3)/2;
-    clf();a=gca();a.isoview='on';
+    clf(), isoview()
     plot(x,y)
     pt=[0.7 0.3];
     plot(pt(1),pt(2),'xb')
     plot(x(ind:ind+1),y(ind:ind+1),'+r')
     xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
     e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-
     ]]></programlisting>
         <scilab:image>
             x=linspace(0,1,30)';
             y=sin(4*x.^3)/2;
-            clf();a=gca();a.isoview='on';
+            clf(), isoview()
             plot(x,y)
             pt=[0.7 0.3];
             plot(pt(1),pt(2),'xb')
             plot(x(ind:ind+1),y(ind:ind+1),'+r')
             xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
             e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-            
+
             pt=[0.75 -0.3];
             plot(pt(1),pt(2),'xb')
             [d,ptp,ind,c]=orthProj([x y],pt);
             plot(x(ind:ind+1),y(ind:ind+1),'+r')
             xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
             e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-            
         </scilab:image>
     </refsection>
 </refentry>
index a9ed03f..ae1d9fd 100644 (file)
@@ -130,7 +130,7 @@ clf()
 f=gcf();
 a=gca();
 a.data_bounds=[0,-10;40,30];
-a.isoview='on';
+isoview();
 x1=[0,10,20,10]';
 y1=[10,0,10,20]';
 c=linspace(2,100,4)';
@@ -144,7 +144,7 @@ xfpolys(xpols,ypols,cols)
             f=gcf();
             a=gca();
             a.data_bounds=[0,-10;40,30];
-            a.isoview='on';
+            isoview();
             x1=[0,10,20,10]';
             y1=[10,0,10,20]';
             c=linspace(2,100,4)';
@@ -154,7 +154,7 @@ xfpolys(xpols,ypols,cols)
             f.color_map=jetcolormap(max(cols));
             xfpolys(xpols,ypols,cols)
         </scilab:image>
-        <programlisting role="example"><![CDATA[   
+        <programlisting role="example"><![CDATA[
 // interpolated colors
 clf()
 f=gcf();
@@ -181,7 +181,7 @@ X=[x11 x12 x21 x22 x31 x32];
 Y=[y11 y12 y21 y22 y31 y32];
 C=([c11 c12 c21 c22 c31 c32]+1)*5;
 a=gca();
-a.isoview='on';
+isoview();
 a.data_bounds=[min(X),min(Y);max(X),max(Y)];
 f=gcf();
 f.color_map=graycolormap(max(C));
@@ -213,7 +213,7 @@ xfpolys(X,Y,C)
             Y=[y11 y12 y21 y22 y31 y32];
             C=([c11 c12 c21 c22 c31 c32]+1)*5;
             a=gca();
-            a.isoview='on';
+            isoview();
             a.data_bounds=[min(X),min(Y);max(X),max(Y)];
             f=gcf();
             f.color_map=graycolormap(max(C));
index e9e47cc..669bf26 100644 (file)
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>
-           comet(y)
-           comet(x,y)
-           comet(x,fun)
-           comet(x,y,p)
-           comet(x,fun,p)
-           comet(...,"colors",c)
-        </synopsis>
+        <synopsis>comet(y)</synopsis>
+        <synopsis>comet(x,y)</synopsis>
+        <synopsis>comet(x,fun)</synopsis>
+        <synopsis>comet(x,y,p)</synopsis>
+        <synopsis>comet(x,fun,p)</synopsis>
+        <synopsis>comet(...,"colors",c)</synopsis>
     </refsynopsisdiv>
     <refsection>
         <title>パラメータ</title>
@@ -195,4 +193,4 @@ clf();comet(linspace(-2,4,500),(%s-3)/(%s^3+2*%s^2+1))
             </revision>
         </revhistory>
     </refsection>
-</refentry>
\ No newline at end of file
+</refentry>
index 72b78a2..ea874df 100644 (file)
@@ -1,14 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
-
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-
  * Copyright (C) INRIA - Fabrice Leray
-
- * 
-
-
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * 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: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="plot">
-    
     <refnamediv>
-        
         <refname>plot</refname>
-        
         <refpurpose>2Dプロット</refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出しの手順</title>
-        
         <synopsis>plot(y,&lt;LineSpec&gt;,&lt;GlobalProperty&gt;)
-            
             plot(x,y,&lt;LineSpec&gt;,&lt;GlobalProperty&gt;)
-            
             plot(x1,y1,&lt;LineSpec1&gt;,x2,y2,&lt;LineSpec2&gt;,...xN,yN,&lt;LineSpecN&gt;,&lt;GlobalProperty1&gt;,&lt;GlobalProperty2&gt;,..&lt;GlobalPropertyM&gt;
-            
             plot(&lt;axes_handle&gt;,...)
-            
         </synopsis>
-        
     </refsynopsisdiv>
-    
-    <refsection>
-        
+    <refsection role="parameters">
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>x</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         実数行列またはベクトル. 省略した場合, <literal>1:n</literal>であると
-                        
                         仮定されます. ただし, <literal>n</literal>は<literal>y</literal>パラメータで
-                        
                         指定された曲線の点の数です.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>y</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         実数行列またはベクトル. <literal>y</literal> はマクロまたはプリミティブ
-                        
                         として定義された関数とすることもできます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>&lt;LineSpec&gt;</term>
-                
                 <listitem>
-                    
                     <para>このオプション引数は文字列で
-                        
                         線を描画する手法を指定するショートカットとして使用されます.
-                        
                         <literal>LineSpec</literal>は指定済みの各<literal> y</literal> または <literal>{x,y}</literal>
-                        
                         毎に一つ指定できます.
-                        
                         <literal>LineSpec</literal>はLineStyle,MarkerおよびColorと同時に処理されます
-                        
                         (<link linkend="LineSpec">LineSpec</link>参照).
-                        
                         これらの指定子はプロットされた線において線の種類,マーカの種類および色を定義します.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>&lt;GlobalProperty&gt;</term>
-                
                 <listitem>
-                    
                     <para>このオプションの引数は,
-                        
                         グローバルオブジェクトのプロパティを定義する
-                        
                         一連の命令<literal>{PropertyName,PropertyValue}</literal>
-                        
                         を表し,     このプロットで作成された全ての曲線に適用されます.
-                        
                         利用可能なプロパティの全て参照するには
-                        
                         <link linkend="GlobalProperty">GlobalProperty</link>を参照してください.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>&lt;axes_handle&gt;</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         このオプションの引数は,カレントの軸ではなく <literal>axes_handle</literal>で
-                        
                         指定した軸の内部にプロットが表示されることを指定します
-                        
                         (<link linkend="gca">gca</link>参照).
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>説明</title>
-        
         <para>
-            
             <literal>plot</literal> は一連の二次元曲線をプロットします.
-            
             <literal>plot</literal> はMatlab構文との互換性を改善するために
-            
             修正されています.
-            
-            グラフィックの互換性を改善するために, Matlabユーザは 
-            
+            グラフィックの互換性を改善するために, Matlabユーザは
             (<link linkend="plot2d">plot2d</link>ではなく)
-            
             <literal>plot</literal>を使用してください.
-            
         </para>
-        
         <para>データエントリ仕様 :</para>
-        
         <para>本節では,記述を明確化するため,オプションの引数
-            
-            <literal>LineSpec</literal>および <literal>GlobalProperty</literal> 
-            
+            <literal>LineSpec</literal>および <literal>GlobalProperty</literal>
             については言及しません.
-            
             これはこれらの引数は,
-            
             (<literal>"Xdata"</literal>,
-            
             <literal>"Ydata"</literal> および <literal>"Zdata"</literal> プロパティを
-            
-            除く, 
-            
+            除く,
             <link linkend="GlobalProperty">GlobalProperty</link>参照)
-            
             エントリデータと干渉しないためです.
-            
             これら全てのオプション引数を同時に指定することが可能です.
-            
         </para>
-        
         <para>
-            
             <literal>y</literal> がベクトルの場合, plot(y) はベクトル <literal>y</literal>
-            
             をベクトル <literal>1:size(y,'*')</literal>に対してプロットします.
-            
         </para>
-        
         <para>
-            
             <literal>y</literal>が行列の場合, plot(y) は<literal>y</literal>の各列を
-            
             <literal>1:size(y,1)</literal>に対してプロットします.
-            
         </para>
-        
         <para>
-            
             <literal>x</literal> および <literal>y</literal> がベクトルの場合, plot(x,y) は
-            
-            ベクトル <literal>y</literal> をベクトル <literal>x</literal>に対してプロットします. 
-            
+            ベクトル <literal>y</literal> をベクトル <literal>x</literal>に対してプロットします.
             ベクトル<literal>x</literal> および
-            
             <literal>y</literal> の要素数は同じである必要があります.
-            
         </para>
-        
         <para>
-            
             <literal>x</literal> がベクトルで <literal>y</literal> が行列の場合, plot(x,y)
-            
-            は <literal>y</literal> の各列をベクトル <literal>x</literal>に対してプロットします. 
-            
+            は <literal>y</literal> の各列をベクトル <literal>x</literal>に対してプロットします.
             この場合,<literal>y</literal> の列の数は
-            
             <literal>x</literal> のエントリの数と同じである必要があります.
-            
         </para>
-        
         <para>
-            
             <literal>x</literal> と <literal>y</literal> が行列の場合, plot(x,y) は
-            
             <literal>y</literal> の各列を<literal>x</literal>の同じ列に対してプロットします.
-            
             この場合,<literal>x</literal> と<literal>y</literal> の大きさは同じである必要があります.
-            
         </para>
-        
         <para>
-            
-            最後に, <literal>x</literal> または <literal>y</literal> が行列の場合, 
-            
+            最後に, <literal>x</literal> または <literal>y</literal> が行列の場合,
             ベクトルは行列の各行または各列に対してプロットされます.
-            
             この選択は,行列の行また列の次元にベクトルの行または列の次元のどちらが
-            
             一致するかに応じて行われます.
-            
             (<literal>x</literal> または <literal>y</literal> のみが)正方行列の場合,
-            
             列が行よりも優先されます(以下の例参照).
-            
         </para>
-        
         <para>
-            
             <warning>
-                
-                必要でかつ可能な場合, 
-                
+                必要でかつ可能な場合,
                 <literal>plot</literal> は,
-                
                 互換性がある次元を取得するため,
-                
                 <literal>x</literal> および <literal>y</literal>を転置し,警告を出力します.
-                
                 例えば,
-                
                 <literal>x</literal> が<literal>y</literal>の列と同じ行数を有する場合.
-                
                 <literal>y</literal> が正方の場合, 転置は行われません.
-                
             </warning>
-            
         </para>
-        
         <para>
-            
             <literal>y</literal> はマクロまたはプリミティブとして定義された関数と
-            
             することも可能です.この場合,
-            
             <literal>x</literal> データを(ベクトルまたは行列として)指定する必要があり,
-            
             対応する<literal>y(x)</literal>の計算が暗黙の内に行われます.
-            
         </para>
-        
         <para>
-            
             <literal>LineSpec</literal> と<literal>GlobalProperty</literal> 引数は
-            
             プロットをカスタマイズするために使用されます.
-            
             以下に利用可能な全オプションのリストを示します.
-            
         </para>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>LineSpec</term>
-                
                 <listitem>
-                    
                     <para>このオプションは曲線の描画方法を簡便な方法で
-                        
                         指定する際に使用されます.
-                        
                         このオプションは,LineStyle, Marker および Color指定子を含む文字列とする
-                        
                         必要があります.
-                        
                     </para>
-                    
                     <para>これらのリファレンスは曖昧さがないように
-                        
                         文字列内で指定することが必要です(順番は重要ではありません).
-                        
                         例えば,ダイヤモンド型の記号を付けた赤い長い破線を指定する場合,
-                        
                         以下のように書くことができます:
-                        
                         <literal>'r--d'</literal> , <literal>'--dire'</literal> または
-                        
                         <literal>'--reddiam'</literal>  または他のあいまいでない命令,
-                        
                         もしくは全体を指定する <literal>'diamondred--'</literal>
-                        
                         (<link linkend="LineSpec">LineSpec</link>参照)
-                        
                     </para>
-                    
                     <para>
-                        
                         線の種類,色,マーカの色(および大きさ)も
-                        
                         ポリラインエンティティプロパティにより(再)設定できることに
-                        
                         注意してください
-                        
                         (<link linkend="polyline_properties">polyline_properties</link>参照).
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>GlobalProperty</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         このオプションは, <literal>LineSpec</literal>を使用する
-                        
                         よりも多くのオプションを用いて曲線のプロット方法を指定できます.
-                        
                         <literal>PropertyName</literal>を定義する文字列と
-                        
                         その値である<literal>PropertyValue</literal>
-                        
                         (<literal>PropertyName</literal>の型に依存して文字列または整数または...)
-                        
                         の組で指定する必要があります.
-                        
                         <literal>GlobalProperty</literal>により複数のプロパティ,
-                        
                         つまり, LineSpec により利用可能なあらゆるプロパティ,
-                        
                         マーカの色(表示色および背景色), 視認性, クリッピング, 曲線の太さ,
-                        
-                        を設定可能です. 
-                        
+                        を設定可能です.
                         (<link linkend="GlobalProperty">GlobalProperty</link>参照)
-                        
                     </para>
-                    
                     <para>
-                        
                         これらのプロパティは全て
-                        
                         ポリラインエンティティプロパティ
-                        
                         (<link linkend="polyline_properties">polyline_properties</link>参照)
-                        
                         により(再)設定できることに注意してください.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>注意</title>
-        
         <para>デフォルトでは, 連続したプロットは重ね描きされます.
-            
             前のプロットを消去するには,
-            
             <literal>clf()</literal>を使用してください. <literal>auto_clear</literal> モードを
-            
             デフォルトで有効にするには,次のようにデフォルトの軸を編集してください:
-            
         </para>
-        
         <para>da=gda();</para>
-        
         <para>da.auto_clear = 'on'</para>
-        
         <para>
-            
             表示を改善するために<literal>plot</literal>関数が親の軸の
-            
             <literal>box</literal>プロパティを修正することがあります.
-            
             これは,親の軸が<literal>plot</literal>のコールにより作成されたか,
-            
             コール前に空である場合に行われます.
-            
             軸の一つが原点を中心にしている場合, ボックスは無効となります.
-            
             その他の場合, ボックスが有効になります.
-            
         </para>
-        
         <para>
-            
             ボックスプロパティと軸の配置に関する詳細については,
-            
             <link linkend="axes_properties">axes_properties</link>を参照ください.
-            
         </para>
-        
         <para>
-            
             色を指定しない場合,曲線をプロットする際にデフォルトの色テーブルが
-            
             使用されます.
-            
             複数の線を描画する際,plotコマンドは自動的に
-            
             このテーブルに基づき周期的に選択します.
-            
             以下に使用される色を示します:
-            
         </para>
-        
         <informaltable border="1">
-            
             <tr>
-                
                 <td>
-                    
                     <literal>R</literal>
-                    
                 </td>
-                
                 <td>
-                    
                     <literal>G</literal>
-                    
                 </td>
-                
                 <td>
-                    
                     <literal>B</literal>
-                    
                 </td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.</td>
-                
                 <td>0.</td>
-                
                 <td>1.</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.</td>
-                
                 <td>0.5</td>
-                
                 <td>0.</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>1.</td>
-                
                 <td>0.</td>
-                
                 <td>0.</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.</td>
-                
                 <td>0.75</td>
-                
                 <td>0.75</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.75</td>
-                
                 <td>0.</td>
-                
                 <td>0.75</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.75</td>
-                
                 <td>0.75</td>
-                
                 <td>0.</td>
-                
             </tr>
-            
             <tr>
-                
                 <td>0.25</td>
-                
                 <td>0.25</td>
-                
                 <td>0.25</td>
-                
             </tr>
-            
         </informaltable>
-        
         <para/>
-        
         <para>
-            
             コマンド <literal>plot</literal> を入力することによりデモを見ることができます.
-            
         </para>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 // x 初期化
-
 x=[0:0.1:2*%pi]';
-
 //simple plot
-
 plot(sin(x))
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot(sin(x))
-            
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 clf()
-
 x=[0:0.1:2*%pi]';
-
 plot(x,sin(x))
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot(x,sin(x))
-            
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 //複数プロット
-
 x=[0:0.1:2*%pi]';
-
 plot(x,[sin(x) sin(2*x) sin(3*x)])
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot(x,[sin(x) sin(2*x) sin(3*x)])
-            
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 clf()
-
 x=[0:0.1:2*%pi]';
-
 // 右に軸
-
-plot(x,sin(x)) 
-
+plot(x,sin(x))
 a=gca(); // カレントの軸エンティティのハンドル
-
-a.y_location ="right"; 
-
+a.y_location ="right";
  ]]></programlisting>
-        
         <scilab:image>
             x=[0:0.1:2*%pi]';
             plot(x,sin(x))
             a=gca();
             a.y_location ="right";
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 x=[0:0.1:2*%pi]';
-
 // (0,0)を中心とする軸
-
 plot(x-4,sin(x),x+2,cos(x))
-
 a=gca(); // 軸エンティティのハンドル
-
-a.x_location = "origin"; 
-
-a.y_location = "origin"; 
-
-
-
+a.x_location = "origin";
+a.y_location = "origin";
 // plotにより作成されたエンティティに複数の処理を行う
-
+isoview()
 a=gca();
-
-a.isoview='on'; 
-
 a.children // 軸の子のリスト : ここでは,2個のエンティティの複合子オブジェクト
-
 poly1= a.children.children(2); //線分群のハンドルをpoly1 に保存
-
 poly1.foreground = 4; // スタイルを変更する別の方法...
-
 poly1.thickness = 3;  // ...曲線の太さ.
-
 poly1.clip_state='off' // 制御をクリップ
-
-a.isoview='off'; 
-
+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[ 
-
-
-
+        <programlisting role="example"><![CDATA[
 //LineSpec と GlobalProperty の例:
-
 clf();
-
 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) // 空白のままにする
-
 plot(axfig3,[t ;t],[sin(t) ;cos(t)],'zdat',[1:2],'marker','d','markerfac','green','markeredg','yel')
-
 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')
@@ -760,119 +391,64 @@ xdel(winsid())
             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[ 
-
+        <programlisting role="example"><![CDATA[
 //データ指定
-
 t=-%pi:0.1:%pi;
-
 size(t)
-
 plot(t) // ベクトルtの大きさに対してyをプロット
-
  ]]></programlisting>
-        
         <scilab:image>
             t=-%pi:0.1:%pi;
             size(t)
             plot(t)
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 t=-%pi:0.1:%pi;
-
 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[ 
-
-
-
-
-
+        <programlisting role="example"><![CDATA[
 t=[1     1     1     1
-
    2     3     4     5
-
    3     4     5     6
-
    4     5     6     7];
-
-
-
 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[ 
-
+        <programlisting role="example"><![CDATA[
 t=[1     1     1     1
-
    2     3     4     5
-
    3     4     5     6
-
    4     5     6     7];
-
-
-
 subplot(221)
-
 plot(t,sin(t)); // 列毎にtに対してsin(t)をプロット
-
 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]; // y軸に隠された垂直線を表示
-
 xtitle("sin(t) versus t''")
-
 subplot(224)
-
 plot(t',sin(t)')
-
 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")
@@ -888,91 +464,50 @@ xtitle("sin(t)'' versus t''")
             plot(t',sin(t)')
             xtitle("sin(t)'' versus t''")
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
-
-
+        <programlisting role="example"><![CDATA[
 t=[1     1     1     1
-
    2     3     4     5
-
    3     4     5     6
-
    4     5     6     7];
-
 //特別な場合1
-
 //x : vector ([5 6 7 8]) and y : matrix (t)
-
 x=[5 6 7 8]
-
 plot(x,t);
-
 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[ 
-
+        <programlisting role="example"><![CDATA[
 clf()
-
 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]]');
-
 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);
@@ -984,187 +519,93 @@ clf()
             subplot(224);
             plot(x',[t [8;9;10;12]]);
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
-
-
+        <programlisting role="example"><![CDATA[
 t=[1     1     1     1
-
    2     3     4     5
-
    3     4     5     6
-
    4     5     6     7];
-
-
-
 //特別な場合2
-
 // xまたはyのみが疎行列の場合
-
 //x : matrix (t) と y  : vector ([1 2 3 4])
-
 plot(t,[1 2 3 4]) // plot(t,[1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4])と同じ
-
 plot(t,[1;2;3;4]) // 同じプロット
-
 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[ 
-
+        <programlisting role="example"><![CDATA[
 t=[1     1     1     1
-
    2     3     4     5
-
    3     4     5     6
-
    4     5     6     7];
-
 clf();
-
 cols = 1:4;
-
-
-
 // cols is transposed : notice the priority given to the columns treatment
-
 plot(t', cols) // equivalent to plot(t',[1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4])
-
 plot(t', cols') // the same plot
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             t=[1     1     1     1
-            
             2     3     4     5
-            
             3     4     5     6
-            
             4     5     6     7];
-            
             clf();
-            
             cols = 1:4;
-            
-            
-            
             // cols is transposed : notice the priority given to the columns treatment
-            
             plot(t',cols') // the same plot
-            
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
-
-
+        <programlisting role="example"><![CDATA[
 // y はプリミティブで定義された関数
-
 plot(1:0.1:10,sin) // plot(1:0.1:10,sin(1:0.1:10))と同じ
-
-
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             plot(1:0.1:10,sin)
-            
         </scilab:image>
-        
-        <programlisting role="example"><![CDATA[ 
-
-
-
+        <programlisting role="example"><![CDATA[
 // ..マクロ:
-
 deff('[y]=toto(x)','y=x.*x')
-
 plot(1:10,toto)
-
  ]]></programlisting>
-        
         <scilab:image>
             deff('[y]=toto(x)','y=x.*x')
             plot(1:10,toto)
         </scilab:image>
-        
     </refsection>
-    
     <refsection role="see also">
-        
         <title>参照</title>
-        
         <simplelist type="inline">
-            
             <member>
-                
                 <link linkend="plot2d">plot2d</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="surf">surf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="scf">scf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="clf">clf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="xdel">xdel</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="delete">delete</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="LineSpec">LineSpec</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="GlobalProperty">GlobalProperty</link>
-                
             </member>
-            
         </simplelist>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index 646f5c2..ed3dc27 100644 (file)
@@ -27,7 +27,7 @@
             plot2d([logflag,][x,],y,&lt;opt_args&gt;)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>パラメータ</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>説明</title>
         <para>
             <literal>plot2d</literal> は一連の2次元曲線をプロットします.
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>その他の情報</title>
         <para>デフォルトで, 連続プロットは重ね書きされます. 前のプロットを
             消去するには,
             </listitem>
         </itemizedlist>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>例</title>
         <programlisting role="example"><![CDATA[
 // x 初期化
@@ -776,8 +776,8 @@ a=gca(); // 軸エンティティのハンドル
 a.x_location = "origin";
 a.y_location = "origin";
 // plot2dで作成されたエンティティを操作 ...
-a=gca();
-a.isoview='on';
+isoview()
+a = gca();
 a.children // 軸の子の一覧.
 // 2個のポリラインと1個の凡例からなる複合要素がある
 poly1= a.children(1).children(1); //ポリラインのハンドルをpoly1に保存
@@ -787,7 +787,7 @@ poly1.clip_state='off'; // クリッピングの制御
 leg = a.children(2); // 凡例のハンドルをlegに保存
 leg.font_style = 9;
 leg.line_mode = "on";
-a.isoview='off';
+isoview("off")
  ]]></programlisting>
         <scilab:image>
             // axis centered at (0,0)
@@ -798,8 +798,8 @@ a.isoview='off';
             a.x_location = "origin";
             a.y_location = "origin";
             // Some operations on entities created by plot2d ...
+            isoview()
             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
@@ -809,7 +809,7 @@ a.isoview='off';
             leg = a.children(2); // store legend handle into leg
             leg.font_style = 9;
             leg.line_mode = "on";
-            a.isoview='off';
+            isoview("off")
         </scilab:image>
     </refsection>
     <refsection role="see also">
@@ -819,6 +819,9 @@ a.isoview='off';
                 <link linkend="plot">plot</link>
             </member>
             <member>
+                <link linkend="plot2d1">plot2d1</link>
+            </member>
+            <member>
                 <link linkend="plot2d2">plot2d2</link>
             </member>
             <member>
@@ -838,4 +841,4 @@ a.isoview='off';
             </member>
         </simplelist>
     </refsection>
-</refentry>
\ No newline at end of file
+</refentry>
index 4d860c5..5bc8ddc 100644 (file)
@@ -1,14 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
-
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-
  * Copyright (C) INRIA
-
- * 
-
-
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * 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: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="polarplot">
-    
     <refnamediv>
-        
         <refname>polarplot</refname>
-        
         <refpurpose>極座標プロット</refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出し手順</title>
-        
         <synopsis>polarplot(theta,rho,[style,strf,leg,rect])
-            
             polarplot(theta,rho,&lt;opt_args&gt;)
-            
         </synopsis>
-        
     </refsynopsisdiv>
-    
-    <refsection>
-        
+    <refsection role="parameters">
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>rho</term>
-                
                 <listitem>
-                    
                     <para>ベクトル, 半径の値</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>theta</term>
-                
                 <listitem>
-                    
                     <para>rho と同じ大きさのベクトル , 角度の値.</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>&lt;opt_args&gt;</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         一連の命令 <literal>key1=value1, key2=value2</literal>, ... ただし, keys は
-                        
                         <literal>style</literal>,<literal>leg</literal>,<literal>rect</literal>,<literal>strf</literal>
-                        
                         または <literal>frameflag</literal>とすることができます
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>style</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         大きさ ncの実数行ベクトル. 曲線<literal>i</literal>に適用されるスタイルは
-                        
                         <literal>style(i)</literal>で定義されます.デフォルトのスタイルは
-                        
                         <literal>1:nc</literal> (1は最初の曲線e, 2 は2番目,
-                        
                         など.)です.
-                        
                     </para>
-                    
                     <variablelist>
-                        
                         <varlistentry>
-                            
                             <term>-</term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     <literal>style(i)</literal> が負の場合, 曲線は
-                                    
                                     ID <literal>abs(style(i))+1</literal>のマーカにより描画されます;
-                                    
                                     マーカIDを参照するには<literal>xset()</literal>を使用してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>-</term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     <literal>style(i)</literal> が厳密に正の場合, 色ID <literal>style(i)</literal>
-                                    
                                     を有する実線または破線ID <literal>style(i)</literal>を有する破線が使用されます;
-                                    
                                     色IDを参照するには,<literal>xset()</literal>を使用してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>-</term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     曲線が1つだけ描画される場合,<literal>style</literal>は
-                                    
                                     大きさ2の行ベクトル<literal>[sty,pos]</literal>とすることができます.
-                                    
                                     ただし,<literal>sty</literal>はスタイルを指定するために使用され,
-                                    
                                     <literal>pos</literal>は1から6の範囲の整数で,関数
-                                    
                                     <literal>plot2d</literal>を複数回コールして複数の曲線をプロットし,
-                                    
                                     各曲線にキャプションを付加したい場合に有用です.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                     </variablelist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>strf</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         長さ3の文字列 <literal>"xy0"</literal>.
-                        
                     </para>
-                    
                     <variablelist>
-                        
                         <varlistentry>
-                            
                             <term>default</term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     デフォルト値: <literal>"030"</literal>.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x</term>
-                            
                             <listitem>
-                                
                                 <para>キャプションの表示を制御,</para>
-                                
                                 <variablelist>
-                                    
                                     <varlistentry>
-                                        
                                         <term>x=0</term>
-                                        
                                         <listitem>
-                                            
                                             <para>キャプションなし.</para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>x=1</term>
-                                        
                                         <listitem>
-                                            
-                                            <para>キャプションは表示されます. 
-                                                
+                                            <para>キャプションは表示されます.
                                                 オプションの引数<literal>leg</literal>により指定されます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                 </variablelist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>y</term>
-                            
                             <listitem>
-                                
                                 <para>フレームの計算を制御します.frameflagと同じ.</para>
-                                
                                 <variablelist>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=0</term>
-                                        
                                         <listitem>
-                                            
                                             <para>(他の高レベルプロット関数への前のコールにより設定された)
-                                                
                                                 カレントの境界が使用されます.複数のプロットを
-                                                
                                                 重ねる際に便利です.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=1</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 オプションの引数 <literal>rect</literal> はプロット境界を
-                                                
                                                 指定する際に使用されます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=2</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 プロットの境界は<literal>x</literal> および
-                                                
                                                 <literal>y</literal>の最小/最大値により計算されます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=3</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=1</literal>と同じですが,等軸スケールとなります..
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=4</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=2</literal> と同じですが,等軸スケールとなります.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=5</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=1</literal> と同じですが, <literal>plot2d</literal> は
-                                                
                                                 プロットの境界および軸の目盛を変更でき,
-                                                
                                                 見栄えの良いグラデーションを生成することができます.
-                                                
                                                 ズームボタンをアクティブにする時,このモードが使用されます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=6</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=2</literal>と同じですが, <literal>plot2d</literal>は
-                                                
                                                 グラデーションの見栄えを良くするために
-                                                
                                                 プロットの境界と軸のメモリを変更できます.
-                                                
                                                 zoom関数がアクティブになった場合,このモードが使用されます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=7</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=5</literal>と同じですが,
-                                                
                                                 新規プロットのスケールはカレントのスケールにマージされます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                     <varlistentry>
-                                        
                                         <term>y=8</term>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 <literal>y=6</literal>と同じですが,
-                                                
                                                 新規プロットのスケールはカレントのスケールにマージされます.
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                 </variablelist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                     </variablelist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>leg</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         文字列. 引数<literal>strf</literal>の最初の文字が1の場合に
-                        
                         使用されます.<literal>leg</literal> は <literal>"leg1@leg2@...."</literal>
-                        
                         という形式で, <literal>leg1</literal>,
-                        
                         <literal>leg2</literal>,などは,それぞれ最初の曲線のキャプション,
-                        
                         2番目の曲線のキャプション, などです.
-                        
                         デフォルトは <literal>""</literal>です.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>rect</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         この引数は引数<literal>strf</literal>の2番目の文字が1,3または5の
-                        
                         場合に使用されます. この引数は大きさ4の行ベクトルで,フレームの次元を指定します:
-                        
                         <literal>rect=[xmin,ymin,xmax,ymax]</literal>.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>説明</title>
-        
         <para>polarplot は,角度 theta に対して半径 rho をプロットする極座標プロット
-            
             を作成します.
-            
-            theta はx軸からベクトルradius (単位:ラジアン)までの角度です; 
-            
+            theta はx軸からベクトルradius (単位:ラジアン)までの角度です;
             rho はデータ空間単位で指定されたベクトルradiusの長さです.
-            
             rhoの値が負の場合,対応する曲線の点が原点対称に折り返されます.
-            
         </para>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例1</title>
-        
         <programlisting role="example"><![CDATA[
-
 t= 0:.01:2*%pi;
-
 clf();polarplot(sin(7*t),cos(8*t))
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             t= 0:.01:2*%pi;
-            
             polarplot(sin(7*t),cos(8*t))
-            
         </scilab:image>
-        
-        
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例2</title>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 t= 0:.01:2*%pi;
-
-
-
 clf();polarplot([sin(7*t') sin(6*t')],[cos(8*t') cos(8*t')],[1,2])
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             t= 0:.01:2*%pi;
-            
-            
-            
             clf();polarplot([sin(7*t') sin(6*t')],[cos(8*t') cos(8*t')],[1,2])
-            
         </scilab:image>
-        
-        
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例3</title>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 t = 0:0.01:2*%pi;
-
 polarplot(t, -1 + sin(t));
-
-
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             t = 0:0.01:2*%pi;
-            
             polarplot(t, -1 + sin(t));
-            
         </scilab:image>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例4</title>
-        
         <programlisting role="example"><![CDATA[
-
   clf()
-
-  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)
-
-  a=gca()
-
-  a.isoview='on'
-
-  a.data_bounds=[-1.2,-1.2;1.2,01.2] 
-
+  isoview()
+  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)
-            
-            a=gca()
-            
-            a.isoview='on'
-            
-            a.data_bounds=[-1.2,-1.2;1.2,01.2] 
-            
-            
-            
+            isoview()
+            gca().data_bounds = [-1.2,-1.2;1.2,01.2];
         </scilab:image>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index 5821a77..eef49f7 100644 (file)
@@ -1,16 +1,9 @@
 <?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) 2009 - DIGITEO - Pierre Lando
-
  * 
-
-
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * 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: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="axes_properties">
-    
     <refnamediv>
-        
         <refname>axes_properties</refname>
-        
         <refpurpose>axesエンティティプロパティの説明</refpurpose>
-        
     </refnamediv>
-    
     <refsection>
-        
         <title>説明</title>
-        
         <para>Axesエンティティはグラフィックエンティティ階層の第2レベルのエンティティです.
-            
             このエンティティは
-            
             座標系を変更するパラメータと子の作成時のパラメータのデフォルト値と共に
-            
             描画する軸を定義します.
-            
         </para>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>Axesプロパティ</term>
-                
                 <listitem>
-                    
                     <variablelist>
-                        
                         <varlistentry>
-                            
                             <term>parent: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドは親の図のハンドルを有します.</para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>children: </term>
-                            
                             <listitem>
-                                
                                 <para>FA ベクトルは,軸の子である全てのグラフィックオブジェクトのハンドルを有します.
-                                    
                                     これらのグラフィックオブジェクトは以下の型となります:
-                                    
                                     <literal>"Compound"</literal>, <literal>"Rectangle"</literal>,
-                                    
                                     <literal>"Polyline"</literal>, <literal>"Segs"</literal>, <literal>"Arc"</literal>,
-                                    
                                     <literal>"Grayplot"</literal>,.. (<link linkend="Compound_properties">Compound_properties</link>,
-                                    
                                     <link linkend="rectangle_properties">rectangle_properties</link>, <link linkend="champ_properties">champ_properties</link>,
-                                    
                                     <link linkend="axis_properties">axis_properties</link>, <link linkend="polyline_properties">polyline_properties</link>,
-                                    
                                     <link linkend="segs_properties">segs_properties</link>, <link linkend="grayplot_properties">grayplot_properties</link>,
-                                    
                                     <link linkend="surface_properties">surface_properties</link>,
-                                    
                                     <link linkend="fec_properties">fec_properties</link>, <link linkend="text_properties">text_properties</link>,
-                                    
                                     <link linkend="legend_properties">legend_properties</link>参照)
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>visible: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドは軸の<literal>visible</literal>プロパティの値を有します.
-                                    
                                     この値は<literal>"on" </literal>または<literal>"off"</literal>となります.
-                                    
                                     デフォルトで,軸の visibleは <literal>"on"</literal>で,
-                                    
                                     この場合, 全ての "visible" な子は画面に表示されます.
-                                    
                                     <literal>"off"</literal> の場合, 軸とその全ての子は描画されません.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>axes_visible: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     <literal>1x3</literal> 文字列ベクトル. このプロパティは
-                                    
                                     各軸が描画されるかどうかを指定します.
-                                    
                                     この値はグローバル設定の場合<literal>"on"</literal> または <literal>"off"</literal>
-                                    
                                     となります.
-                                    
                                     一つの軸のみ変更する場合, 構文は <literal>axes_visible(N)</literal>となります.
-                                    
                                     ただし, <literal>N</literal> は <literal>1,2</literal> または <literal>3</literal>で,
-                                    
                                     それぞれ, <literal> x,y</literal> または <literal>z</literal>軸に対応します.
-                                    
                                     データは必要に応じてスケーリングされ,値が <literal>"on"</literal>の場合,
-                                    
                                     グリッドが描画されます.
-                                    
                                     <literal>gca()</literal>コマンド(<literal>get"current_axes")</literal>のショートカット)
-                                    
                                     または<literal>gcf()</literal>(<literal>get(current_figure)</literal>のショートカット)
-                                    
                                     により簡単な軸エンティティを作成する際,軸の可視性(axes
-                                    
                                     visiblibilty)は <literal>"off"</literal>に設定されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>axes_reverse: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     3つの軸(X,Y,Z)に対応する<literal>1x3</literal>文字列ベクトル.
-                                    
                                     各軸について,このプロパティは値の増加方向を指定します.
-                                    
                                     <literal>"off"</literal>の場合,デフォルトの方向が使用されます.
-                                    
                                     <literal>"on"</literal>の場合, 方向は逆になります.
-                                    
                                     一つの文字列のみ(<literal>"on"</literal> または
-                                    
                                     <literal>"off"</literal>) を使用することも可能です.
-                                    
                                     この場合, 3つのデータは同じ値に設定されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>grid: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     フィールドの値はベクトル<literal>[x-grid,y-grid,z-grid]</literal>です.
-                                    
                                     ただし,<literal>x-grid</literal>はx軸の描画グリッドを制御し,
-                                    
                                     <literal>y-grid,z-grid</literal>はそれぞれy軸,z軸に対応します.
-                                    
                                     デフォルト値は <literal>-1</literal>で,グリッドは描画されません.
-                                    
                                     それ以外の場合, grid の値により指定された色添字により
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>grid_position: </term>
-                            
-                            <listitem>                            
-                                
+                            <listitem>
                                 <para>この文字列は他のグラフィックエンティティに相対的なグリッドの位置
-                                    
                                     を指定します.その値には 他のグラフィックエンティティの前にグリッドを描画する
-                                    
                                     <literal>"foreground"</literal>, もしくは
-                                    
                                     グリッドの背後に描画する<literal>"background"</literal>のどちらかを指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x_location: </term>
-                            
                             <listitem>
-                                
                                 <para>x軸の位置を指定します.指定可能な値は:</para>
-                                
                                 <itemizedlist>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"bottom"</literal>. この場合,x軸は軸の矩形の最下部に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"top"</literal>. この場合,x軸は軸の矩形の
-                                            
                                             最上部に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"middle"</literal>. この場合,x軸は中心部に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"origin"</literal>. この場合,x軸は原点に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                 </itemizedlist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>y_location: </term>
-                            
                             <listitem>
-                                
                                 <para>y軸の位置を指定します. 以下の値を指定可能です:</para>
-                                
                                 <itemizedlist>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"left"</literal>.この場合,y軸は軸の矩形の左に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"right"</literal>. この場合,y軸は軸の矩形の右に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"middle"</literal>. この場合,y軸は中心に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
                                             <literal>"origin"</literal>. この場合,y軸は原点に描画されます.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                 </itemizedlist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>title: </term>
-                            
                             <listitem>
-                                
                                 <para>Axesエンティティに付属するオブジェクトで,Label構造体の
-                                    
                                     グラフィックハンドルを返します
-                                    
                                     (<link linkend="label_properties">label_properties</link>参照).
-                                    
                                     このフィールドはこのラベルのオプションで,タイトルを定義します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x_label: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     Axesエンティティに付属するオブジェクトで, Label構造体のハンドルを
-                                    
                                     返します(<link linkend="label_properties">label_properties</link>参照).
-                                    
                                     このフィールドはこのラベルのオプションで,x軸のラベルを定義します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>y_label: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     Axesエンティティに付属するオブジェクトで, Label構造体のハンドルを
-                                    
                                     返します(<link linkend="label_properties">label_properties</link>参照).
-                                    
                                     このフィールドはこのラベルのオプションで,y軸のラベルを定義します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>z_label: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     Axesエンティティに付属するオブジェクトで, Label構造体のハンドルを
-                                    
                                     返します(<link linkend="label_properties">label_properties</link>参照).
-                                    
                                     このフィールドはこのラベルのオプションで,z軸のラベルを定義します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>auto_ticks: </term>
-                            
                             <listitem>
-                                
                                 <para>各軸のauto_ticksステータスを指定する
-                                    
                                     <literal>1x3</literal> 文字列ベクトル.
-                                    
                                     このプロパティは,各軸に計算アルゴリズムに基づく目盛が付くか否か
-                                    
                                     (目盛をユーザが指定)を指定します.
-                                    
                                     この値は,グローバルな設定値で, <literal>"on"</literal> または
-                                    
                                     <literal>"off"</literal>とします.
-                                    
                                     1つの軸にのみ適用する場合の構文は<literal>auto_ticks(N)</literal>で,
-                                    
                                     <literal>N</literal>は<literal>1,2</literal> または <literal>3</literal>
-                                    
                                     とし,それぞれ,<literal>x,y</literal> または <literal>z</literal>軸に
-                                    
                                     対応します.
-                                    
                                     <literal>x_ticks, y_ticks</literal> または<literal>z_ticks</literal>により
-                                    
                                     目盛(テキストまたは文字)を編集すると,対応する軸の
-                                    
                                     <literal>auto_ticks</literal>が自動的に<literal>"off"</literal>に設定
-                                    
                                     されることに注意してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x_ticks, y_ticks, z_ticks: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     これらのプロパティの各々は"ticks"型のtlistで,
-                                    
                                     "locations" および "labels" という名前の2つのフィールドを有します:
-                                    
                                     <literal>tlist(["ticks", "locations", "labels"], Locations, Labels)</literal>
-                                    
                                     ただし,
-                                    
                                     <variablelist>
-                                        
                                         <varlistentry>
-                                            
                                             <term>Locations</term>
-                                            
                                             <listitem>
-                                                
                                                 は実数ベクトルで,指定したxまたはyまたはz軸のデータスケールに基づく
-                                                
                                                 目盛の位置を有します.
-                                                
                                                 目盛の数を変更する必要がない場合,
-                                                
                                                 構文 <literal>Haxes.x_ticks.locations = Locations</literal> により,
-                                                
                                                 (x軸に関して)これらの位置を設定または変更できます.
-                                                
                                                 ただし,
-                                                
                                                 <literal>Haxes = gca();</literal>と
-                                                
                                                 <literal>Locations</literal> は
-                                                
                                                 更新された全目盛の位置のベクトルです.
-                                                
                                                 i番目の位置のみを変更する場合,
-                                                
                                                 <literal>Haxes.x_ticks.locations(i) = newLoc</literal>としてください.
-                                                
                                             </listitem>
-                                            
                                         </varlistentry>
-                                        
                                         <varlistentry>
-                                            
                                             <term>Labels</term>
-                                            
                                             <listitem>
-                                                
                                                 はテキストベクトルで,各目盛の前に表示されるラベルを有します.
-                                                
                                                 目盛の位置と同様に,ラベルも
-                                                
                                                 <literal>Haxes.y_ticks.labels = Labels</literal> または
-                                                
                                                 <literal>Haxes.y_ticks.labels(j) = newLabelJ</literal>のように
-                                                
                                                 (y軸に関して)変更できます.
-                                                
                                             </listitem>
-                                            
                                         </varlistentry>
-                                        
                                     </variablelist>
-                                    
                                     <warning>
-                                        
                                         <para>
-                                            
-                                            ある軸について, <literal>Locations</literal>及び<literal>Labels</literal> 
-                                            
+                                            ある軸について, <literal>Locations</literal>及び<literal>Labels</literal>
                                             ベクトルの要素の数は同じとする必要があります.
-                                            
                                         </para>
-                                        
                                         <para>
-                                            
                                             目盛の数が変更となった場合,不整合を回避するために
-                                            
                                             各目盛の位置とラベルを同時に変更する必要があります:
-                                            
                                             (例えばx軸に関して)構文
-                                            
                                             <literal>Haxes.x_ticks = tlist(["ticks" "locations", "labels"], newLocations, newLabels)</literal> を使用します.
-                                            
                                         </para>
-                                        
                                     </warning>
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x_ticks.locations, y_ticks.locations, z_ticks.locations: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     xまたはyまたは軸の目盛の位置を有する実数ベクトル.
-                                    
                                     <varname>x_ticks.locations</varname>の要素数は<varname>x_ticks.labels</varname>と
-                                    
                                     同じ必要があります.
-                                    
                                     詳細については上記の<varname>x_ticks</varname>を参照ください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>x_ticks.labels, y_ticks.labels, z_ticks.labels: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     これらのプロパティはxまたはyまたはz軸に関する目盛の前に表示される
-                                    
                                     ラベルを有するテキストベクトルです.
-                                    
                                     <varname>x_ticks.labels</varname> の要素数は<varname>x_ticks.locations</varname>
-                                    
                                     と同じにします. 詳細は上記の <varname>x_ticks</varname> を参照ください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>ticks_format: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティは各軸で使用される様式を指定します.
-                                    
                                     これは最大3列の行ベクトルで,文字列で
-                                    
                                     (<link linkend="mprintf">mprintf</link>と同じ仕様の)様式を有します.
-                                    
                                     各目盛の位置はラベルで使用される様式文字列に使用されます.
-                                    
                                 </para>
-                                
                                 <para>
-                                    
                                     ここで,例えば ticks_format="%.2e" は,目盛の位置を10進2桁指数表記
-                                    
                                     により出力します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>ticks_st: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティはラベルとして使用される整形済みの文字列として使用される前に
-                                    
                                     各目盛の位置に適用される倍数変換を指定します.
-                                    
                                     ここで,倍数は<literal>[x_s y_s z_s ; x_t y_t z_t]</literal>で,
-                                    
                                     x_tickの位置がXの場合, ラベルをフォーマットする際に使用される値は
-                                    
-                                    <literal>x_s*(X-x_t)</literal>となります. 
-                                    
+                                    <literal>x_s*(X-x_t)</literal>となります.
                                     これは特に軸の範囲が狭い場合に有用です.
-                                    
                                     <para>
-                                        
                                         これは2行の行列で, 最大3列です.
-                                        
                                     </para>
-                                    
                                 </para>
-                                
                                 <para>
-                                    
-                                    ここで, 例えば <literal>base=B</literal>の場合, 
-                                    
+                                    ここで, 例えば <literal>base=B</literal>の場合,
                                     ラベルは
-                                    
                                     <literal>ticks_format=string(base)+"%+.2e"</literal> および
-                                    
                                     <literal>ticks_st=[1 base]</literal>で出力できます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>box: </term>
-                            
                             <listitem>
-                                
                                 <para>このプロパティは軸を箱で囲うかどうかを指定します.
-                                    
                                     値には, <literal>"off"</literal>,
-                                    
                                     <literal>"hidden_axes"</literal>, <literal>"back_half"</literal> または
-                                    
                                     <literal>"on".</literal>のどれかを指定します.
-                                    
                                     プロパティが <literal>"off"</literal>の場合,箱は描画されません.
-                                    
                                     プロパティが<literal>"hidden_axes"</literal>の場合,
-                                    
                                     背景枠のみが描画されます.
-                                    
-                                    プロパティが<literal>"back_half"</literal>の場合, 
-                                    
+                                    プロパティが<literal>"back_half"</literal>の場合,
                                     X, Y および Z 軸も描画されます.
-                                    
                                     プロパティが<literal>"on"</literal>の場合,箱全体が描画されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>filled: </term>
-                            
                             <listitem>
-                                
                                 <para>このプロパティは軸の背景が描画されるかどうかを指定します.
-                                    
                                     値には, <literal>"off"</literal> または
-                                    
                                     <literal>"on".</literal>を指定します.
-                                    
                                     このプロパティが <literal>"off"</literal>の場合,
-                                    
                                     <literal>background</literal>プロパティで指定された色により
-                                    
                                     背景が描画されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>sub_ticks: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドは主目盛の間に描画される目盛の数を設定します.
-                                    
                                     このフィールドの値はベクトル <literal>[nx,ny]</literal>で,
-                                    
                                     <literal>nx</literal>はx軸の副目盛の数,
-                                    
                                     <literal>ny</literal>はy軸の副目盛の数となります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>font_style: </term>
-                            
                             <listitem>
-                                
                                 <para>目盛ラベルの表示に使用するフォントを指定します.
-                                    
                                     この値はロード済みのフォントの一つを指す正の整数です.
-                                    
                                     この値は最初のフォントを指す 0 と最後のフォントを指す
-                                    
                                     (ロード済みのフォントの数 - 1) の間である必要があります.
-                                    
                                     より詳細な情報については<link linkend="graphics_fonts">graphics_fonts</link>
-                                    
                                     を参照ください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>font_size: </term>
-                            
                             <listitem>
-                                
                                 <para>スカラーで,目盛ラベルに使用する文字の大きさを指定します.
-                                    
                                     <literal>fractional_font</literal>プロパティが <literal>"off"</literal>の場合,
-                                    
                                     値の整数部分のみが使用されます.
-                                    
                                     より詳細な情報については<link linkend="graphics_fonts">graphics_fonts</link>
-                                    
                                     を参照ください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>font_color: </term>
-                            
                             <listitem>
-                                
                                 <para>このプロパティは目盛ラベルの色を定義します.</para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>fractional_font: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティは目盛ラベルが分数のフォントの大きさにより表示されるかどうかを指定します.
-                                    
                                     値には<literal>"on"</literal> または <literal>"off"</literal>を指定します.
-                                    
                                     <literal>"on"</literal>の場合,<literal>font_size</literal>の浮動小数点の値が
-                                    
                                     表示に使用され,フォントにアンチエイリアス処理が適用されます.
-                                    
                                     <literal>"off"</literal> の場合整数部のみが使用され,フォントのスムージングは
-                                    
                                     行われません.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>isoview: </term>
-                            
                             <listitem>
-                                
                                 <para>このプロパティは x, y および z軸を等軸スケールにするため
-                                    
                                     (例えば曲線 sin(x) および cos(x) を表示する際に楕円ではなく円となるように)
-                                    
                                     に使用されます.
-                                    
                                     値には<literal>"on"</literal> または <literal>"off"</literal>を指定します.
-                                    
                                     値が <literal>"on"</literal> の場合,対応する図のプロパティ
-                                    
                                     <literal>figure_size</literal>の値に基づき
-                                    
                                     軸の <literal>data_bounds</literal> は自動的に変更されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>cube_scaling:</term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティは<literal>3d mode</literal>で使用され,
-                                    
                                     x, y および z軸の再スケーリングを行います.
-                                    
                                     <literal>data</literal>を 1x1x1 の立方体に適合させることができます ;
-                                    
                                     目的は, 軸スケールが個々に非常に異なる場合に3次元グラフィックをより
-                                    
                                     よく表示することです.
-                                    
                                     値には  <literal>"on" </literal> または
-                                    
-                                    <literal>"off"</literal> (デフォルト値)を指定します. 多くの場合, 
-                                    
+                                    <literal>"off"</literal> (デフォルト値)を指定します. 多くの場合,
                                     Matlabのような3次元表示の生成を容易にします.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>view: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドは,グラフィック領域に関係します.
-                                    
                                     <literal>"3d"</literal>を3次元視点に対応する値として指定する
-                                    
                                     ことができます.
-                                    
                                     その他の場合,初期値である2次元プロットを意味する
-                                    
                                     <literal>"2d"</literal> (デフォルト値)とすることができます.
-                                    
                                     このフラグはユーザが入力したプロットにも依存します:
-                                    
                                     例えば, <literal>plot3d </literal> コマンドは
-                                    
                                     <literal>view</literal>フラグを<literal>"2d"</literal>から
-                                    
                                     <literal>"3d"</literal>に切り替えます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>rotation_angles: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
-                                    このフィールドはベクトル <literal>[alpha,theta]</literal>です. 
-                                    
+                                    このフィールドはベクトル <literal>[alpha,theta]</literal>です.
                                     この2つの値は視点の球座標(単位:度)を指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>log_flags: </term>
-                            
                             <listitem>
-                                
                                 <para> 各軸のスケール(線形または対数)を指定する3文字の文字列.
-                                    
                                     各文字はそれぞれX, YおよびZ軸のスケールを指定します.
-                                    
                                     値には,線形スケールの場合に<literal>'n'</literal>,
-                                    
                                     対数スケールの場合に <literal>'l'</literal>を指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>tight_limits: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティの値が  <literal>"on"</literal> の場合,
-                                    
                                     軸は厳密に<literal>data_bounds</literal>の最小値と最大値に
-                                    
                                     調整されます.
-                                    
                                     このフィールドの値が <literal>"off"</literal>の場合,
-                                    
                                     目盛ラベルを見栄え良く表示するなどのために境界が拡大される
-                                    
                                     場合があります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>data_bounds: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドにはx,yおよびz座標の境界値が含まれます.
-                                    
                                     このフィールドは行列  <literal>[xmin,ymin,zmin;xmax,ymax,zmax]</literal>または
-                                    
                                     <literal>[xmin,ymin;xmax,ymax]</literal>となります.
-                                    
                                     厳密に指定したデータ境界にするためには<literal>tight_limits</literal> を
-                                    
                                     <literal>"on"</literal>に設定する必要があることに注意してください (上記参照).
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>zoom_box: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには座標系が指定された場合の
-                                    
                                     カレントのズームボックスが含まれます.
-                                    
                                     この値は空の行列(ズームなし)または(より小さな軸ボックスを指定する)ベクトル
-                                    
                                     <literal>[xmin,ymin,xmax,ymax,zmin,zmax]</literal>となります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>margins: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     ベクトル
-                                    
                                     <literal>[margin_left,margin_right,margin_top,margin_bottom]</literal>
-                                    
                                     はこの軸の余白部を指定します.このベクトルは[0 1]の範囲の数値で構成され,
-                                    
                                     デフォルト値は [0.125 0.125 0.125 0.125]です.
-                                    
                                     これらの数値は<literal>axes_bounds</literal>プロパティの対応する値,
-                                    
                                     つまり,
-                                    
                                     <literal>margin_left</literal> および <literal>margin_right</literal>
-                                    
                                     の場合は <literal>width</literal>,
-                                    
                                     <literal>margin_top</literal> および
-                                    
                                     <literal>margin_bottom</literal>の場合は<literal>height</literal>
-                                    
                                     に関する相対比です.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>auto_margins: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     内容に基づきマージンを自動的に計算できるようにするプロパティ.
-                                    
                                     値が<literal>"on"</literal>の場合,
-                                    
                                     自動計算が有効となります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>axes_bounds: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     ベクトル <literal>[x_left,y_up,width,height]</literal> はこの軸で
-                                    
                                     使用される図の部分を指定します.
-                                    
-                                    ただし, <literal>x_left</literal>, <literal>y_up</literal>, <literal>width</literal> 
-                                    
+                                    ただし, <literal>x_left</literal>, <literal>y_up</literal>, <literal>width</literal>
                                     および<literal>height</literal>は[0 1]の範囲の数値で,
-                                    
                                     それぞれ左上隅の位置と軸の寸法を指定します.
-                                    
                                     (これらの数値は対応する図<literal>figure_size</literal>プロパティの値
-                                    
                                     に対する比です.)
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>hidden_axis_color: </term>
-                            
                             <listitem>
-                                
                                 <para>このプロパティはhidden軸の色を定義します.
-                                    
                                     カレントのカラーマップに関連する添字を指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>user_data: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドは軸データ構造に任意のScilab変数を保存し,
-                                    
                                     再度取得するために使用できます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                     </variablelist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>高レベル関数のプロパティ</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         <literal>plot</literal>, <literal>plot2dx</literal>, <literal>grayplot</literal>
-                        
                         および <literal>matplot</literal> 関数は,
-                        
                         引数<literal>frameflag</literal>により指定されない場合,
-                        
                         以降のプロットをマージする方法を決定するために
-                        
                         以下のプロパティを使用します.
-                        
                         マージの結果は以下の2つのプロパティにより決定されます:
-                        
                     </para>
-                    
                     <variablelist>
-                        
                         <varlistentry>
-                            
                             <term>auto_clear: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティが<literal>"on"</literal>に等しい場合,
-                                    
                                     高レベルグラフィクをコールする際に
-                                    
                                     カレントの軸は再初期化され,描画前に全ての子が消去されます.
-                                    
                                     この値が<literal>"off"</literal>の場合,
-                                    
                                     描画内容が<literal>"auto_scale"</literal>プロパティに基づき
-                                    
                                     カレントの軸に追加されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>auto_scale: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     軸データ境界を更新するためのプロパティ.
-                                    
                                     この値が <literal>"on"</literal>の場合,
-                                    
                                     プロットを新規に行うとカレントの軸プロパティは
-                                    
                                     以前とカレントのプロットに適合するよう調整されます.
-                                    
                                     この値が <literal>"off"</literal>の場合,
-                                    
                                     新規のプロットはカレントの軸データ境界内に描画されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                     </variablelist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>子のデフォルト値: </term>
-                
                 <listitem>
-                    
                     <variablelist>
-                        
                         <varlistentry>
-                            
                             <term>hiddencolor: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティは,隠蔽された部分の色を制御します.
-                                    
                                     カレントの色マップへの相対インデックスを値として指定します.
-                                    
                                     その他の場合,値が負の時,隠蔽された部分は面と同じ色となります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>line_mode: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     Segs Rectangle Legend Axis Plot3d Fac3d および
-                                    
                                     Polylineオブジェクトに関する
-                                    
                                     デフォルトの<literal>line_mode</literal>
-                                    
                                     プロパティの値が含まれます.
-                                    
                                     この値には, <literal>"on" </literal>(デフォルト)
-                                    
                                     または <literal>"off"</literal>を指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>line_style: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     Segs, Arcs, Rectangle および Polylineオブジェクトに関する
-                                    
                                     デフォルトの<literal>line_style</literal>
-                                    
                                     プロパティの値が含まれます.
-                                    
                                     <literal>line_style</literal> は線を描画する際に使用される線の種類を
-                                    
                                     選択します.
-                                    
                                     その値には, [0 8] の範囲の整数を指定します.
-                                    
                                     0 および 1は実線, その他の値は破線(破線,1点鎖線,長い1点鎖線,非常に大きい1点鎖線,
-                                    
                                     非常に大きく長い1点鎖線,点,2点)の選択を意味します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>thickness: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドは線の描画を行う全てのオブジェクトの<literal>thickness</literal>
-                                    
                                     プロパティのデフォルト値を含みます.
-                                    
                                     この値は,ピクセル単位の線幅を指定する正の実数です.
-                                    
                                     実際に表示される幅は指定された幅を最も近い整数に丸めることにより定義されます.
-                                    
                                     唯一の例外は,<literal>thickness</literal>の合計値が使用されるベクトルの
-                                    
                                     エキスポートの場合です.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_mode: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドには,Segs Rectangle Legend Axis Plot3d Fac3d および
-                                    
                                     Polyline オブジェクトに関する<literal>mark_mode</literal>プロパティの
-                                    
                                     デフォルト値が含まれます.
-                                    
                                     この値には,<literal>"on" </literal> または
-                                    
                                     <literal>"off"</literal> (デフォルト)を指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_style: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,Segs Rectangle Legend Axis Plot3d Fac3d および
-                                    
                                     Polyline オブジェクトに関する<literal>mark_style</literal>プロパティの
-                                    
                                     デフォルト値が含まれます.
-                                    
                                     <literal>mark_style</literal> は表示される記号の種類を選択します.
-                                    
                                     この値には, 以下を意味する[0 9]の範囲の整数を指定します:
-                                    
                                     ドット, プラス, 十宇, 星型, 塗りつぶされた菱形, 菱形,
-                                    
                                     上三角, 下三角, 三つ葉および円.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_size_unit: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,Segs Rectangle Legend Axis Plot3d Fac3d および
-                                    
                                     Polyline に関する<literal>mark_size_unit</literal>プロパティのデフォルト値が
-                                    
                                     含まれます.
-                                    
                                     <literal>mark_size_unit</literal>に<literal>"point"</literal>が
-                                    
                                     指定された場合,<literal>mark_size</literal>の値は
-                                    
                                     直接ポイント単位で指定されます.
-                                    
                                     <literal>mark_size_unit</literal>に<literal>"tabulated"</literal>が
-                                    
                                     指定された場合,<literal>mark_size</literal>は
-                                    
                                     フォントサイズ配列に相対的に設定されます:
-                                    
                                     この場合,値には [0 5]の範囲の整数値を指定し,
-                                    
                                     それぞれ, 8pt, 10pt, 12pt, 14pt, 18pt および
-                                    
                                     24ptを意味します.
-                                    
                                     <link linkend="plot2d">plot2d</link>およびScilabの組み込み関数は
-                                    
                                     <literal>tabulated</literal>モードがデフォルトであることに注意
-                                    
                                     してください;
-                                    
                                     <link linkend="plot">plot</link>を使用する場合,
-                                    
                                     <literal>point</literal>モードが自動的に有効になります.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_size: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドには,Segs Rectangle Legend Axis Plot3d Fac3d および
-                                    
                                     Polylineオブジェクトに関する<literal>mark_size</literal>プロパティの
-                                    
                                     デフォルト値が含まれます.
-                                    
                                     <literal>mark_size</literal> は表示される記号のフォントの大きさを
-                                    
                                     選択します.
-                                    
                                     この値は [0 5]の範囲の整数である必要があり,それぞれ,
-                                    
                                     8pt, 10pt, 12pt, 14pt, 18pt および 24ptを意味します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_foreground: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     この軸のもとで作成された全てのオブジェクトに関する<literal>mark_foreground</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.
-                                    
                                     Polyline,
-                                    
                                     rectangle, legend, surface, segment および axisオブジェクトは
-                                    
                                     記号の表面(縁)色を指定する際にこのプロパティを使用します.
-                                    
                                     値には,(カレントのカラーマップに基づく)色のインデックスまたは
-                                    
                                     透明な輪郭を意味する 0 を指定します.
-                                    
                                     デフォルト値は<literal>-1</literal>(デフォルトの黒)で,
-                                    
                                     <literal>color_map</literal>を変更した場合でも,
-                                    
                                     この値<literal>-1</literal>は常にデフォルトの黒色を指し続けることに
-                                    
                                     注意してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>mark_background: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     この軸のもとで作成された全てのオブジェクトに関する
-                                    
                                     <literal>mark_background</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.
-                                    
                                     Polyline,
-                                    
                                     rectangle, legend, surface, segment および axisオブジェクトは
-                                    
                                     背景(表面)色を指定する際にこのプロパティを使用します.
-                                    
                                     値には,(カレントのカラーマップに基づく)色のインデックスまたは
-                                    
                                     透明な輪郭を意味する 0 を指定します.
-                                    
                                     デフォルト値は<literal>-2</literal>(デフォルトの白)で,
-                                    
                                     <literal>color_map</literal>を変更した場合でも,
-                                    
                                     この値<literal>-2</literal>は常にデフォルトの白色を指し続けることに
-                                    
                                     注意してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>foreground: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     この軸のもとで作成された全てのオブジェクトに関する
-                                    
                                     <literal>foreground</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.
-                                    
                                     値には,(カレントのカラーマップに基づく)色のインデックスを指定します.
-                                    
                                     デフォルト値は<literal>-1</literal>(デフォルトの黒)で,
-                                    
                                     <literal>color_map</literal>を変更した場合でも,
-                                    
                                     この値<literal>-1</literal>は常にデフォルトの黒色を指し続けることに
-                                    
                                     注意してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>background: </term>
-                            
                             <listitem>
-                                
                                 <para>このフィールドには,
-                                    
                                     この軸のもとで作成された全てのオブジェクトに関する
-                                    
                                     <literal>background</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.
-                                    
                                     値には,(カレントのカラーマップに基づく)色のインデックスを指定します.
-                                    
                                     デフォルト値は<literal>-2</literal>(デフォルトの白)で,
-                                    
                                     <literal>color_map</literal>を変更した場合でも,
-                                    
                                     この値<literal>-2</literal>は常にデフォルトの白色を指し続けることに
-                                    
                                     注意してください.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>arc_drawing_mode: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このプロパティは,この Axes オブジェクトの元で作成された全ての Arc
-                                    
                                     オブジェクトの<literal>arc_drawing_mode</literal>プロパティの
-                                    
                                     デフォルト値を制御します.
-                                    
                                     値には, <literal>"nurbs"</literal> または <literal>"lines"</literal>
-                                    
                                     のどちらかを指定します.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>clip_state: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドには全てのオブジェクトに関する<literal>clip_state</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.以下の値を指定します:
-                                    
                                 </para>
-                                
                                 <itemizedlist>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
-                                            <literal>"off"</literal> 
-                                            
+                                            <literal>"off"</literal>
                                             以降に作成される全てのオブジェクトはクリップされない
-                                            
                                             ことを意味します (デフォルト値).
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
-                                            <literal>"clipgrf"</literal> 
-                                            
+                                            <literal>"clipgrf"</literal>
                                             以降に作成される全てのオブジェクトはAxesの境界の外側はクリップされる
-                                            
                                             ことを意味します.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                     <listitem>
-                                        
                                         <para>
-                                            
-                                            <literal>"on"</literal> 
-                                            
+                                            <literal>"on"</literal>
                                             以降に作成される全てのオブジェクトは
-                                            
                                             プロパティ clip_box で指定した矩形の外側はクリップされることを
-                                            
                                             意味します.
-                                            
                                         </para>
-                                        
                                     </listitem>
-                                    
                                 </itemizedlist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>clip_box: </term>
-                            
                             <listitem>
-                                
                                 <para>
-                                    
                                     このフィールドには全てのオブジェクトに関する<literal>clip_box</literal>
-                                    
                                     プロパティのデフォルト値が含まれます.
-                                    
                                     clip_state が <literal>"off"</literal>の場合,
-                                    
                                     この値は空の行列となります.その他の場合,このクリッピングは
-                                    
                                     ベクトル<literal>[x,y,w,h]</literal>(左上の点, 幅, 高さ)により指定されます.
-                                    
                                 </para>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                         <varlistentry>
-                            
                             <term>デフォルト値に関する注意 :</term>
-                            
                             <listitem>
-                                
                                 <variablelist>
-                                    
                                     <varlistentry>
-                                        
                                         <term/>
-                                        
                                         <listitem>
-                                            
                                             <para>
-                                                
                                                 上記のプロパティとフィールドは軸モデルに保存された
-                                                
                                                 デフォルト値を継承します.
-                                                
                                                 これらのデフォルト値は参照および変更が可能です.
-                                                
                                                 これを行うには,<literal>get("default_axes")</literal>
-                                                
                                                 コマンドを使用してください:
-                                                
                                                 これにより軸モデルのグラフィックハンドルが返されます.
-                                                
                                                 このコマンドによりグラフィックウインドウが作成されるわけではないことに
-                                                
                                                 注意してください.
-                                                
                                                 次に生成される軸はこのモデルを継承します
-                                                
                                                 (以下の"軸モデルの例"を参照ください).
-                                                
                                             </para>
-                                            
                                         </listitem>
-                                        
                                     </varlistentry>
-                                    
                                 </variablelist>
-                                
                             </listitem>
-                            
                         </varlistentry>
-                        
                     </variablelist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
     <refsection>
-        
         <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 lines(0) // 垂直方向のページングを無効にする
-
 a=get("current_axes")//新規に作成された軸のハンドルを取得
-
 a.axes_visible="on"; // 軸を可視にする
-
 a.font_size=3; //目盛ラベルのフォントサイズを設定
-
 a.x_location="top"; //x軸の位置を設定
-
 a.data_bounds=[-100,-2,-1;100,2,1]; //x, y および z 座標の境界値を設定
-
 a.sub_tics=[5,0];
-
 a.labels_font_color=5;
-
 a.grid=[2,2];
-
 a.box="off";
-
-   
-
 // 3D軸の例
-
 clf(); //グラフィックウインドウを消去
-
 x=0.1:0.1:2*%pi;plot2d(x-.3,sin(x)*7+.2);
-
 a=gca(); // カレントの軸のハンドルを取得
-
 a.grid=[1 -1 -1]; //x-グリッドを作成
-
 a.rotation_angles=[70 250]; //指定した角度に軸を回転
-
 a.grid=[1 6 -1]; //y-グリッドを作成
-
 a.view="2d"; //2d視点に戻す
-
 a.box="back_half";
-
 a.labels_font_color=5;
-
 a.children.children.thickness=4;
-
 a.children.children.polyline_style=3;
-
 a.view="3d"; //return te the 3d view
-
 a.children.children.thickness=1;
-
 a.children.children.foreground=2;
-
 a.grid=[1 6 3]; //make z-grid
-
 a.parent.background=4;
-
 a.background=7;
-
 plot2d(cos(x)+1,3*sin(x)-3);
-
 plot2d(cos(x)+7,3*sin(x)+3);
-
 a.children(2).children.polyline_style=2;
-
 a.children(1).children.polyline_style=4;
-
 a.children(1).children.foreground=5;
-
 a.children(2).children.foreground=14;
-
 a.parent.figure_size= [1200,800];
-
 a.box="on";
-
 a.labels_font_size=4;
-
 a.parent.background=8;
-
 a.parent.figure_size= [400,200];
-
 a.rotation_angles=[0 260];
-
-delete(a.children(2)); 
-
+delete(a.children(2));
 delete(); // カレントオブジェクトを削除
-
-   
-
 a = gca();
-
 a.labels_font_size=1;
-
 a.auto_clear= "on";
-
 x=0:0.1:2.5*%pi;plot2d(10*cos(x),sin(x));
-
-
-
 a.data_bounds(:,1) = [1;15] ; // X 軸の正の境界を設定
-
 a.log_flags = "lnn" ; // X軸を対数スケールに設定
-
 a.log_flags = "nnn" ; // 線形軸に戻す
-
-
-
-a=gca(); 
-
+a=gca();
 a.rotation_angles=[45 45];
-
 a.data_bounds=[-20,-3,-2;20 3 ,2];
-
 xrect([-4 0.5 8 1]);
-
 a.auto_clear = "off" ;
-
 a.isoview="on"; // 等軸モード
-
 xrect([-2 0.25 4 0.5]);
-
 a.children(1).fill_mode="on";
-
 a.axes_visible="off";
-
 a.children(1).data=[-2 0.25 -1 4 0.5];
-
 a.children(2).data=[-4 0.5 1 8 1];
-
 x=2*%pi*(0:7)/8;
-
 xv=[.2*sin(x);.9*sin(x)];yv=[.2*cos(x);.9*cos(x)];
-
 xsegs(10*xv,yv,1:8)
-
 s=a.children(1);
-
 s.arrow_size=1;
-
 s.segs_color=5;
-
 a.data_bounds //x,y および z 座標の境界値
-
 a.view="2d";
-
 a.data_bounds=[-10,-1; 10,1]; // 二次元視点の境界値を設定
-
-   
-
 // 軸モデルの例
-
 da=gda() // 軸もでるのハンドルを取得し,フィールドを参照,編集する
-
 // デフォルトのタイトル
-
 da.title.text="My Default@Title"
-
 da.title.foreground = 12;
-
 da.title.font_size = 4;
-
 // x ラベルのデフォルト
-
 da.x_label.text="x";
-
 da.x_label.text="x"; // Latex または MathML をここで使用することもできます
-
 da.x_label.font_style = 8;
-
 da.x_label.font_size = 2;
-
 da.x_label.foreground = 5;
-
 da.x_location = "middle";
-
 // y ラベルのデフォルト
-
 da.y_label.text="y";
-
 da.y_label.font_style = 3;
-
 da.y_label.font_size = 5;
-
 da.y_label.foreground = 3;
-
 da.y_location = "right";
-
 da.thickness = 2;
-
 da.foreground = 7;
-
 // プロット
-
 x=(0:0.1:2*%pi)';
-
 plot2d(x,[sin(x),sin(2*x),sin(3*x)],style=[1,2,3],rect=[0,-2,2*%pi,2]);
-
 sda() // デフォルトの軸モデルに戻す
 
-
-
-
-
 // LaTeX / MathML 目盛の例:
-
 plot2d();
-
 a=gca();
 
-
-
 mathml="<mrow><mfrac><mrow><mi>d</mi>  <mi>y</mi></mrow><mrow>  <mi>d</mi>  <mi>x</mi></mrow></mfrac> <mo>=</mo>..
-
 <mfrac><mn>1</mn><msup> <mi>y</mi>  <mn>2</mn></msup> </mfrac> </mrow>";
-
 // LaTeX 式のみ
-
 a.x_ticks = tlist(["ticks", "locations", "labels"], (0:6)', [mathml;"1";"$\sin(x)$";"3";"$\cos(a) - test$";"5";"6"]);
-
-
-
 // 式の混用: MathML と LaTex
-
 a.y_ticks = tlist(["ticks", "locations", "labels"], (-2:0.5:2)', ["0";"1";"2";"3";"$\cos(a)$";"5";"6";mathml;"8"]);
-
-
-
  ]]>
-            
         </programlisting>
-        
         <para/>
-        
         <programlisting role="example">
-            
             <![CDATA[
-
 m=[66.425514; 66.425513];
-
 plot([69;70], m);
-
 a=gca();
-
 a.ticks_format=["" sprintf("%.2f", m(2))+"%+.1e"];
-
 a.ticks_st=[1 1;0 m(2)];
-
  ]]>
-            
         </programlisting>
-        
     </refsection>
-    
     <refsection role="see also">
-        
         <title>参照</title>
-        
         <simplelist type="inline">
-            
             <member>
-                
                 <link linkend="axis_properties">axis_properties</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="lines">lines</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="set">set</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="get">get</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="gca">gca</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="gda">gda</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="gcf">gcf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="sda">sda</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="sdf">sdf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="scf">scf</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="graphics_entities">graphics_entities</link>
-                
             </member>
-            
         </simplelist>
-        
     </refsection>
-    
     <refsection>
-        
         <title>履歴</title>
-        
         <revhistory>
-            
             <revision>
-                
                 <revnumber>5.4.0</revnumber>
-                
                 <revremark>line_style の値 0 が廃止対象となりましたので,代わりに1を使用してください
-                    
                     (両者は共に実線であり,等価です).
-                    
                     値0は Scilab 5.4.1でエラーとなります.
-                    
                 </revremark>
-                
             </revision>
-            
             <revision>
-                
                 <revnumber>5.5.0</revnumber>
-                
                 <revremark>
-                    
                     <itemizedlist>
-                        
                         <listitem>line_style の値 9 と 10 を使用でき,
-                            
                             それぞれlongblank dot および bigblank dot 形式を意味します.
-                            
                         </listitem>
-                        
                         <listitem>auto_margins プロパティが追加され,
-                            
                             マージンの自動計算が可能になりました.
-                            
                         </listitem>
-                        
                         <listitem>ticks_format と ticks_st プロパティが追加され,
-                            
                             目盛ラベルの表示が改善されました.
-                            
                         </listitem>
-                        
                     </itemizedlist>
-                    
                 </revremark>
-                
             </revision>
-            
         </revhistory>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index 4c1cf24..0c45fb4 100644 (file)
@@ -1,12 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
-
  * Copyright (C) INRIA -  Serge Steer Serge.Steer@inria.fr
-
  * 
-
-
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * 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: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="orthProj">
-    
     <refnamediv>
-        
         <refname>orthProj</refname>
-        
         <refpurpose>
-            
             点の平面上のポリラインへの直交射影を計算する
-            
         </refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出し手順</title>
-        
         <synopsis>[d,ptp,ind,c] = orthProj(data,pt)</synopsis>
-        
     </refsynopsisdiv>
-    
-    <refsection>
-        
+    <refsection role="parameters">
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>data</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         n 行 2 列配列. 最初の列にはポリラインのX座標,
-                        
                         2番目の列にはY座標を有します.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>pt</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         2個のエントリを有する配列: 点の座標
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>d</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         指定した点とポリラインのデータ点の間の最小距離.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>ptp</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         2個のエントリを有する配列: 距離が最小となる点の座標
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>ind</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         セグメント<literal>[ind ind+1]</literal>で
-                        
                         ポリラインに最も近い点となる&gt;.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>c</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         直交射影の補間係数.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>説明</title>
-        
         <para>
-            
             平面上のポリラインへの点の直交射影を計算します.
-            
         </para>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例</title>
-        
         <programlisting role="example"><![CDATA[
-
     x=linspace(0,1,30)';
-
     y=sin(4*x.^3)/2;
-
-    clf();a=gca();a.isoview='on';
-
+    clf(), isoview()
     plot(x,y)
-
     pt=[0.7 0.3];
-
     plot(pt(1),pt(2),'xb')
-
     [d,ptp,ind,c]=orthProj([x y],pt);
-
     plot(x(ind:ind+1),y(ind:ind+1),'+r')
-
     xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
-
     e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
 
-
-
     pt=[0.75 -0.3];
-
     plot(pt(1),pt(2),'xb')
-
     [d,ptp,ind,c]=orthProj([x y],pt);
-
     plot(x(ind:ind+1),y(ind:ind+1),'+r')
-
     xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
-
     e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-
-
-
     ]]></programlisting>
-        
         <scilab:image>
-            
             x=linspace(0,1,30)';
-            
             y=sin(4*x.^3)/2;
-            
-            clf();a=gca();a.isoview='on';
-            
+            clf(), isoview()
             plot(x,y)
-            
             pt=[0.7 0.3];
-            
             plot(pt(1),pt(2),'xb')
-            
             [d,ptp,ind,c]=orthProj([x y],pt);
-            
             plot(x(ind:ind+1),y(ind:ind+1),'+r')
-            
             xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
-            
             e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-            
-            
-            
+
             pt=[0.75 -0.3];
-            
             plot(pt(1),pt(2),'xb')
-            
             [d,ptp,ind,c]=orthProj([x y],pt);
-            
             plot(x(ind:ind+1),y(ind:ind+1),'+r')
-            
             xpoly([pt(1);ptp(1)],[pt(2);ptp(2)])
-            
             e=gce();e.polyline_style=4;e.arrow_size_factor = 1.5;
-            
-            
-            
         </scilab:image>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index fd603d4..ffa08d0 100644 (file)
@@ -1,14 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
-
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-
  * Copyright (C) ENPC - Jean-Philippe Chancelier
-
  * 
-
-
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * 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: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="xfpolys">
-    
     <refnamediv>
-        
         <refname>xfpolys</refname>
-        
         <refpurpose>一連のポリゴンを塗りつぶす </refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出し手順</title>
-        
         <synopsis>xfpolys(xpols,ypols,[fill])</synopsis>
-        
     </refsynopsisdiv>
-    
     <refsection>
-        
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>xpols,ypols</term>
-                
                 <listitem>
-                    
                     <para>同じ大きさ (p,n) (ポリゴンの点)の行列.</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>fill</term>
-                
                 <listitem>
-                    
                     <para>大きさ n または大きさ (p,n)のベクトル</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
     <refsection>
-        
         <title>説明</title>
-        
         <para>
-            
             <literal>xfpolys</literal>は
-            
             行列<literal>xpols</literal> および<literal>ypols</literal>
-            
             で定義された同じ大きさの一連のポリゴンを塗りつぶします.
-            
             各ポリゴンの座標は<literal>xpols</literal> および <literal>ypols</literal>
-            
             の列に保存されます.
-            
         </para>
-        
         <para>ポリゴンは指定した色で塗られるか(フラット),もしくは,
-            
             補間色(影付き)で塗られます.
-            
         </para>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>フラット彩色</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         この場合, <literal>fill</literal>は
-                        
                         大きさ<literal>n</literal>のベクトルとなります.
-                        
                         ポリゴン番号 i を塗るパターンは
-                        
                         <literal>fill(i)</literal>で指定されます:
-                        
                     </para>
-                    
                     <itemizedlist>
-                        
                         <listitem>
-                            
                             <para>
-                                
                                 <literal>fill(i)&lt;0</literal>の場合, ポリゴンは
-                                
                                 パターンID <literal>-fill(i)</literal>で塗られます.
-                                
                             </para>
-                            
                         </listitem>
-                        
                         <listitem>
-                            
                             <para>
-                                
                                 <literal>fill(i)=0</literal>の場合, ポリゴンは
-                                
                                 カレントの破線(またはカレントの色)で描画され,
-                                
                                 塗られません.
-                                
                             </para>
-                            
                         </listitem>
-                        
                         <listitem>
-                            
                             <para>
-                                
                                 <literal>fill(i)&gt;0</literal>の場合, 
-                                
                                 ポリゴンはパターンID <literal>fill(i)</literal>で
-                                
                                 塗られます. この後, 等高線がカレントの破線(または色)が描画され,
-                                
                                 および必要に応じて閉じられます.
-                                
                             </para>
-                            
                         </listitem>
-                        
                     </itemizedlist>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>補間色彩色</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         この場合,<literal>fill</literal> は,
-                        
                         <literal>xpols</literal> および <literal>ypols</literal>と
-                        
                         同じ大きさの行列となります.
-                        
                         <literal>p</literal> は 3 または 4とします.
-                        
                     </para>
-                    
                     <para>
-                        
                         <literal>fill(k,i)</literal>はポリゴン<literal>i</literal>の
-                        
                         <literal>k</literal>番目の縁の色を指定します.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
     <refsection>
-        
         <title>例</title>
-        
         <programlisting role="example"><![CDATA[ 
-
 a=gca();
-
 a.data_bounds=[0,-10;210,40];
-
 a.foreground=color('red');
-
 x1=[0,10,20,30,20,10,0]';
-
 y1=[15,30,30,15,0,0,15]';
-
 xpols=[x1 x1 x1 x1];
-
 xpols=xpols+[0,60,120,180].*.ones(x1);
-
 ypols=[y1 y1 y1 y1];
-
 xfpolys(xpols,ypols,[-1,0,1,2])
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             a=gca();
-            
             a.data_bounds=[0,-10;210,40];
-            
             a.foreground=color('red');
-            
             x1=[0,10,20,30,20,10,0]';
-            
             y1=[15,30,30,15,0,0,15]';
-            
             xpols=[x1 x1 x1 x1];
-            
             xpols=xpols+[0,60,120,180].*.ones(x1);
-            
             ypols=[y1 y1 y1 y1];
-            
             xfpolys(xpols,ypols,[-1,0,1,2])
-            
         </scilab:image>
-        
-        
-        
         <programlisting role="example"><![CDATA[ 
-
 // 補間色
-
 clf()
-
 f=gcf();
-
 a=gca();
-
 a.data_bounds=[0,-10;40,30];
-
-a.isoview='on';
-
+isoview();
 x1=[0,10,20,10]';
-
 y1=[10,0,10,20]';
-
 c=linspace(2,100,4)';
-
 xpols=[x1 x1+20 x1+10 x1+10];
-
 ypols=[y1 y1    y1+10 y1-10];
-
 cols= [c c($:-1:1) c([3 4 1 2]) c]
-
 f.color_map=jetcolormap(max(cols));
-
 xfpolys(xpols,ypols,cols)
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             f=gcf();
-            
             a=gca();
-            
             a.data_bounds=[0,-10;40,30];
-            
-            a.isoview='on';
-            
+            isoview();
             x1=[0,10,20,10]';
-            
             y1=[10,0,10,20]';
-            
             c=linspace(2,100,4)';
-            
             xpols=[x1 x1+20 x1+10 x1+10];
-            
             ypols=[y1 y1    y1+10 y1-10];
-            
             cols= [c c($:-1:1) c([3 4 1 2]) c]
-            
             f.color_map=jetcolormap(max(cols));
-            
             xfpolys(xpols,ypols,cols)
-            
         </scilab:image>
-        
         <programlisting role="example"><![CDATA[   
-
 // 補間色
-
 clf()
-
 f=gcf();
-
 x11=[0;20;20;0];
-
 y11=[10;10;30;30];
-
 c11=[10;10;30;30];
-
 x12=x11;
-
 y12=y11+20;
-
 c12=[20;20;1;1];
-
 c12=[30;30;10;10];
-
 x21=[0;30;30;0]+22;
-
 y21=[20;20;30;30];
-
 c21=[20;20;30;30];
-
 x22=x21;
-
 y22=y21+10;
-
 c22=[30;30;20;20];
-
 x31=[0;40;40;0]+55;
-
 y31=[0;0;30;30];
-
 c31=[0;0;30;30];
-
 x32=x31;
-
 y32=y31+30;
-
 c32=[30;30;0;0];
-
 X=[x11 x12 x21 x22 x31 x32];
-
 Y=[y11 y12 y21 y22 y31 y32];
-
 C=([c11 c12 c21 c22 c31 c32]+1)*5;
-
 a=gca();
-
-a.isoview='on';
-
-a.data_bounds=[min(X),min(Y);max(X),max(Y)];
-
+isoview();
+a.data_bounds=[min(X), min(Y); max(X), max(Y)];
 f=gcf();
-
 f.color_map=graycolormap(max(C));
-
 xfpolys(X,Y,C)
-
  ]]></programlisting>
-        
         <scilab:image>
-            
             clf()
-            
             f=gcf();
-            
             x11=[0;20;20;0];
-            
             y11=[10;10;30;30];
-            
             c11=[10;10;30;30];
-            
             x12=x11;
-            
             y12=y11+20;
-            
             c12=[20;20;1;1];
-            
             c12=[30;30;10;10];
-            
             x21=[0;30;30;0]+22;
-            
             y21=[20;20;30;30];
-            
             c21=[20;20;30;30];
-            
             x22=x21;
-            
             y22=y21+10;
-            
             c22=[30;30;20;20];
-            
             x31=[0;40;40;0]+55;
-            
             y31=[0;0;30;30];
-            
             c31=[0;0;30;30];
-            
             x32=x31;
-            
             y32=y31+30;
-            
             c32=[30;30;0;0];
-            
             X=[x11 x12 x21 x22 x31 x32];
-            
             Y=[y11 y12 y21 y22 y31 y32];
-            
             C=([c11 c12 c21 c22 c31 c32]+1)*5;
-            
             a=gca();
-            
-            a.isoview='on';
-            
+            isoview();
             a.data_bounds=[min(X),min(Y);max(X),max(Y)];
-            
             f=gcf();
-            
             f.color_map=graycolormap(max(C));
-            
             xfpolys(X,Y,C)
-            
         </scilab:image>
-        
-        
-        
     </refsection>
-    
     <refsection role="see also">
-        
         <title>参照</title>
-        
         <simplelist type="inline">
-            
             <member>
-                
                 <link linkend="xfpoly">xfpoly</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="xpoly">xpoly</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="xpolys">xpolys</link>
-                
             </member>
-            
         </simplelist>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index 0d2e044..fa285b1 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) INRIA - Fabrice Leray
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="plot" xml:lang="pt">
     <refnamediv>
         <refname>plot</refname>
-        <refpurpose>Esboço 2d</refpurpose>
+        <refpurpose>Esboço 2d</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
+        <title>Seqüência de Chamamento</title>
         <synopsis>plot(y,&lt;LineSpec&gt;,&lt;GlobalProperty&gt;)
             plot(x,y,&lt;LineSpec&gt;,&lt;GlobalProperty&gt;)
             plot(x1,y1,&lt;LineSpec1&gt;,x2,y2,&lt;LineSpec2&gt;,...xN,yN,&lt;LineSpecN&gt;,&lt;GlobalProperty1&gt;,&lt;GlobalProperty2&gt;,..&lt;GlobalPropertyM&gt;)
             plot(&lt;axes_handle&gt;,...)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
+    <refsection role="parameters">
+        <title>Parâmetros</title>
         <variablelist>
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>uma matriz ou vetor de reais. Se omitido, é assumido como
-                        sendo o vetor <literal>1:n</literal> onde <literal>n</literal> é o
-                        número de pontos de curva dado pelo parâmetro
+                    <para>uma matriz ou vetor de reais. Se omitido, é assumido como
+                        sendo o vetor <literal>1:n</literal> onde <literal>n</literal> é o
+                        número de pontos de curva dado pelo parâmetro
                         <literal>y</literal>.
                     </para>
                 </listitem>
@@ -43,8 +43,8 @@
                 <term>y</term>
                 <listitem>
                     <para>
-                        uma matriz de reais ou um vetor. <literal>y</literal> também
-                        pode ser uma função definida como um macro ou uma primitiva. 
+                        uma matriz de reais ou um vetor. <literal>y</literal> também
+                        pode ser uma função definida como um macro ou uma primitiva.
                     </para>
                 </listitem>
             </varlistentry>
                     <para>este argumento opcional deve ser usado como um atalho para
                         especificar um modo de desenhar uma linha. Podemos ter um
                         <literal>LineSpec</literal> por<literal> y</literal> ou
-                        <literal>{x,y}</literal> previamente entrados. As opções
+                        <literal>{x,y}</literal> previamente entrados. As opções
                         <literal>LineSpec</literal> lidam com os especificadores LineStyle,
                         Marker e Color (ver <link linkend="LineSpec">LineSpec</link>). Estes
                         especificadores determinam o estilo de linha, de marcas e a cor das
-                        linhas esboçadas. 
+                        linhas esboçadas.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>&lt;GlobalProperty&gt;</term>
                 <listitem>
-                    <para>este argumento opcional representa uma seqüência de pares de
-                        declarações <literal>{PropertyName,PropertyValue}</literal> tque
+                    <para>este argumento opcional representa uma seqüência de pares de
+                        declarações <literal>{PropertyName,PropertyValue}</literal> tque
                         define propriedades globais de objetos a serem aplicadas a todas as
-                        curvas criadas pelo esboço. Para uma visualização completa de das
-                        propriedades disponíveis veja <link linkend="GlobalProperty">GlobalProperty</link>.
+                        curvas criadas pelo esboço. Para uma visualização completa de das
+                        propriedades disponíveis veja <link linkend="GlobalProperty">GlobalProperty</link>.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>&lt;axes_handle&gt;</term>
                 <listitem>
-                    <para>este argumento opcional força o esboço a aparecer dentro dos
+                    <para>este argumento opcional força o esboço a aparecer dentro dos
                         eixos selecionados fornecidos por <literal>axes_handle</literal> ao
-                        invés dos eixos correntes (ver <link linkend="gca">gca</link>).
+                        invés dos eixos correntes (ver <link linkend="gca">gca</link>).
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
-        <title>Descrição</title>
+    <refsection role="description">
+        <title>Descrição</title>
         <para>
-            <literal>plot</literal> esboça um conjunto de curvas 2d.
-            <literal>plot</literal> foi reconstruído para lidar melhor com a sintaxe
-            do Matlab. Para melhorar a compatibilidade gráfica com o Matlab, utilize
-            <literal>plot</literal> (ao invés de <link linkend="plot2d">plot2d</link>).
+            <literal>plot</literal> esboça um conjunto de curvas 2d.
+            <literal>plot</literal> foi reconstruído para lidar melhor com a sintaxe
+            do Matlab. Para melhorar a compatibilidade gráfica com o Matlab, utilize
+            <literal>plot</literal> (ao invés de <link linkend="plot2d">plot2d</link>).
         </para>
-        <para>Especificação de entrada de dados:</para>
-        <para>Neste parágrafo, para sermos mais claros, não mencionaremos os
+        <para>Especificação de entrada de dados:</para>
+        <para>Neste parágrafo, para sermos mais claros, não mencionaremos os
             argumentos opcionais <literal>LineSpec</literal> ou
-            <literal>GlobalProperty</literal> já que eles não interferem na entrada de
+            <literal>GlobalProperty</literal> já que eles não interferem na entrada de
             dados (exceto pelas propriedades <literal>"Xdata"</literal>,
-            <literal>"Ydata"</literal> e <literal>"Zdata"</literal>, ver <link linkend="GlobalProperty">GlobalProperty</link>). É assumido que todos
-            estes argumentos podem estar presentes também.
+            <literal>"Ydata"</literal> e <literal>"Zdata"</literal>, ver <link linkend="GlobalProperty">GlobalProperty</link>). É assumido que todos
+            estes argumentos podem estar presentes também.
         </para>
         <para>
-            Se <literal>y</literal> é um vetor, plot(y) esboça um vetor
+            Se <literal>y</literal> é um vetor, plot(y) esboça um vetor
             <literal>y</literal> versus o vetor
             <literal>1:size(y,'*')</literal>.
         </para>
         <para>
-            Se <literal>y</literal> é uma matriz, plot(y) esboça cada coluna de
+            Se <literal>y</literal> é uma matriz, plot(y) esboça cada coluna de
             <literal>y</literal> versus o vetor <literal>1:size(y,1)</literal>.
         </para>
         <para>
-            Se <literal>x</literal> e <literal>y</literal> são vetores,
-            plot(x,y) esboça o vetor <literal>y</literal> versus o vetor
+            Se <literal>x</literal> e <literal>y</literal> são vetores,
+            plot(x,y) esboça o vetor <literal>y</literal> versus o vetor
             <literal>x</literal>. Os vetores <literal>x</literal> e
-            <literal>y</literal> devem ter o mesmo número de entradas.
+            <literal>y</literal> devem ter o mesmo número de entradas.
         </para>
         <para>
-            Se <literal>x</literal> é um vetor e <literal>y</literal> uma matriz
-            plot(x,y) esboça cada coluna de <literal>y</literal> versus o vetor
-            <literal>x</literal>. Neste caso, o número de colunas de
-            <literal>y</literal> deve ser igual ao número de entradas de
+            Se <literal>x</literal> é um vetor e <literal>y</literal> uma matriz
+            plot(x,y) esboça cada coluna de <literal>y</literal> versus o vetor
+            <literal>x</literal>. Neste caso, o número de colunas de
+            <literal>y</literal> deve ser igual ao número de entradas de
             <literal>x</literal>.
         </para>
         <para>
-            Se <literal>x</literal> e <literal>y</literal> são matrizes,
-            plot(x,y) esboça cada coluna de <literal>y</literal> versus a coluna
+            Se <literal>x</literal> e <literal>y</literal> são matrizes,
+            plot(x,y) esboça cada coluna de <literal>y</literal> versus a coluna
             correspondente de <literal>x</literal>. Neste caso, os tamanhos
             <literal>x</literal> e <literal>y</literal> devem ser os mesmos.
         </para>
         <para>
-            Finalmente, se apenas <literal>x</literal> ou <literal>y</literal> é
-            uma matriz, o vetor é esboçado versus cada linha ou cada coluna da matriz.
-            A escolha é feita dependendo se a dimensão de linha ou coluna do vetor
-            coincide com a dimensão de linha ou coluna da matriz. No caso de uma
+            Finalmente, se apenas <literal>x</literal> ou <literal>y</literal> é
+            uma matriz, o vetor é esboçado versus cada linha ou cada coluna da matriz.
+            A escolha é feita dependendo se a dimensão de linha ou coluna do vetor
+            coincide com a dimensão de linha ou coluna da matriz. No caso de uma
             matriz quadrada (apenas <literal>x</literal> ou penas
-            <literal>y</literal>), a prioridade é dada a colunas ao invés de linhas
+            <literal>y</literal>), a prioridade é dada a colunas ao invés de linhas
             (ver exemplos abaixo).
         </para>
         <para>
-            <literal>y</literal> também pode ser uma função definida como um
+            <literal>y</literal> também pode ser uma função definida como um
             macro ou uma primitiva. Neste caso, os dados <literal>x</literal> devem
-            ser fornecidos (como um vetor ou uma matriz) e a computação correspondente
-            de <literal>y(x)</literal> é feita implicitamente.
+            ser fornecidos (como um vetor ou uma matriz) e a computação correspondente
+            de <literal>y(x)</literal> é feita implicitamente.
         </para>
         <para>
             Os argumentos <literal>LineSpec</literal> e
             <literal>GlobalProperty</literal> devem ser utilizados para customizar o
-            esboço. Aqui está uma lista completa das opções disponíveis.
+            esboço. Aqui está uma lista completa das opções disponíveis.
         </para>
         <variablelist>
             <varlistentry>
                 <term>LineSpec</term>
                 <listitem>
-                    <para>esta opção pode ser utilizada para se especificar, de um modo
-                        curto e fácil, como as curvas são desenhadas. Deve sempre ser um
-                        string contendo referências aos especificadores LineStyle, Marker e
+                    <para>esta opção pode ser utilizada para se especificar, de um modo
+                        curto e fácil, como as curvas são desenhadas. Deve sempre ser um
+                        string contendo referências aos especificadores LineStyle, Marker e
                         Color.
                     </para>
-                    <para>Essas referências devem ser ajustadas denro do string (a ordem
-                        não é importante) de modo a não ter ambigüidades. Por exemplo, para
-                        especificar uma linha vermelha de traço longo com marcas de rombos,
+                    <para>Essas referências devem ser ajustadas denro do string (a ordem
+                        não é importante) de modo a não ter ambigüidades. Por exemplo, para
+                        especificar uma linha vermelha de traço longo com marcas de rombos,
                         pode-se escrever : <literal>'r--d'</literal> ou
                         <literal>'--dire'</literal> ou <literal>'--reddiam'</literal> ou
-                        outra sentença sem ambigüidade... ou de modo completo
+                        outra sentença sem ambigüidade... ou de modo completo
                         <literal>'diamondred--'</literal> (ver <link linkend="LineSpec">LineSpec</link>).
                     </para>
                     <para>Note que os estilos de linha e marcas (e tamanhos) e as cores,
-