Documentation: fix the plot and plot2d localized image re-generation
[scilab.git] / scilab / modules / graphics / help / ja_JP / 2d_plot / plot2d.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6
7  * Copyright (C) INRIA
8
9  * Copyright (C) 2009 - DIGITEO - Pierre Lando
10
11  * Copyright (C) 2010 - DIGITEO - Yann Collette
12
13  * 
14
15
16  * Copyright (C) 2012 - 2016 - Scilab Enterprises
17  *
18  * This file is hereby licensed under the terms of the GNU GPL v2.0,
19  * pursuant to article 5.3.4 of the CeCILL v.2.1.
20  * This file was originally licensed under the terms of the CeCILL v2.1,
21  * and continues to be available under such terms.
22  * For more information, see the COPYING file which you should have received
23  * along with this program.
24
25  *
26
27  -->
28
29 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="plot2d" xml:lang="ja">
30     
31     <refnamediv>
32         
33         <refname>plot2d</refname>
34         
35         <refpurpose>2Dプロット</refpurpose>
36         
37     </refnamediv>
38     
39     <refsynopsisdiv>
40         
41         <title>呼び出し手順</title>
42         
43         <synopsis>
44             
45             plot2d([logflag,][x,],y[,style[,strf[,leg[,rect[,nax]]]]])
46             
47             plot2d([logflag,][x,],y,&lt;opt_args&gt;)
48             
49         </synopsis>
50         
51     </refsynopsisdiv>
52     
53     <refsection>
54         
55         <title>パラメータ</title>
56         
57         <variablelist>
58             
59             <varlistentry>
60                 
61                 <term>x</term>
62                 
63                 <listitem>
64                     
65                     <para>実数の行列またはベクトル. 省略された場合, 
66                         
67                         ベクトル<literal>1:n</literal>が指定されたと仮定します.
68                         
69                         ただし, <literal>n</literal>は<literal>y</literal>
70                         
71                         パラメータで指定された曲線の点の数です.
72                         
73                     </para>
74                     
75                 </listitem>
76                 
77             </varlistentry>
78             
79             <varlistentry>
80                 
81                 <term>y</term>
82                 
83                 <listitem>
84                     
85                     <para>実数の行列またはベクトル.</para>
86                     
87                 </listitem>
88                 
89             </varlistentry>
90             
91             <varlistentry>
92                 
93                 <term>&lt;opt_args&gt;</term>
94                 
95                 <listitem>
96                     
97                     <para>
98                         
99                         一連の命令 <literal>key1=value1,key2=value2</literal>,...
100                         
101                         を表します.
102                         
103                         ただし, <literal>key1</literal>, <literal>key2,...</literal>
104                         
105                         には以下のどれかを指定できます:
106                         
107                     </para>
108                     
109                     <variablelist>
110                         
111                         <varlistentry>
112                             
113                             <term>logflag</term>
114                             
115                             <listitem>
116                                 
117                                 <para>
118                                     
119                                     軸スケール (線形または対数)を設定します.
120                                     
121                                     値は文字列で, 以下の値のどれかを指定します:
122                                     
123                                     <literal>"nn"</literal>, <literal>"nl"</literal> ,
124                                     
125                                     <literal>"ln"</literal> および <literal>"ll"</literal> .
126                                     
127                                 </para>
128                                 
129                             </listitem>
130                             
131                         </varlistentry>
132                         
133                         <varlistentry>
134                             
135                             <term>style</term>
136                             
137                             に
138                             
139                             <listitem>
140                                 
141                                 <para>各曲線のスタイルを設定します.
142                                     
143                                     値は整数値(正または負)を有する実数ベクトルを指定します.
144                                     
145                                 </para>
146                                 
147                             </listitem>
148                             
149                         </varlistentry>
150                         
151                         <varlistentry>
152                             
153                             <term>strf</term>
154                             
155                             <listitem>
156                                 
157                                 <para>凡例の表示を制御します.</para>
158                                 
159                                 <para>
160                                     
161                                     <literal>strf</literal> は長さ3の文字列
162                                     
163                                     <literal>"xyz"</literal>です.
164                                     
165                                     (デフォルトでは,<literal>strf="081"</literal>)
166                                     
167                                 </para>
168                                 
169                             </listitem>
170                             
171                         </varlistentry>
172                         
173                         <varlistentry>
174                             
175                             <term>leg</term>
176                             
177                             <listitem>
178                                 
179                                 <para>曲線の凡例を設定します.
180                                     
181                                     値には文字列を指定します.
182                                     
183                                 </para>
184                                 
185                             </listitem>
186                             
187                         </varlistentry>
188                         
189                         <varlistentry>
190                             
191                             <term>rect</term>
192                             
193                             <listitem>
194                                 
195                                 <para>
196                                     
197                                     プロットに使用する最小限の領域を設定します.
198                                     
199                                     値には以下の4個のエントリを有する実数ベクトルを指定します:
200                                     
201                                     <literal>[xmin,ymin,xmax,ymax]</literal>.
202                                     
203                                 </para>
204                                 
205                             </listitem>
206                             
207                         </varlistentry>
208                         
209                         <varlistentry>
210                             
211                             <term>nax</term>
212                             
213                             <listitem>
214                                 
215                                 <para>軸ラベルと目盛の定義を設定します.
216                                     
217                                     値には4個の整数エントリ<literal>[nx,Nx,ny,Ny]</literal>を有する
218                                     
219                                     実数ベクトルを指定します.
220                                     
221                                 </para>
222                                 
223                             </listitem>
224                             
225                         </varlistentry>
226                         
227                         <varlistentry>
228                             
229                             <term>frameflag</term>
230                             
231                             <listitem>
232                                 
233                                 <para>指定された最小限の領域に基づく実際の座標系の範囲の
234                                     
235                                     計算を制御します.
236                                     
237                                     値には, 0 から 8までの範囲の整数を指定します.
238                                     
239                                 </para>
240                                 
241                             </listitem>
242                             
243                         </varlistentry>
244                         
245                         <varlistentry>
246                             
247                             <term>axesflag</term>
248                             
249                             <listitem>
250                                 
251                                 <para>軸の描画方法を指定します. 値には,
252                                     
253                                     0 から 5までの範囲の整数を指定します.
254                                     
255                                 </para>
256                                 
257                             </listitem>
258                             
259                         </varlistentry>
260                         
261                     </variablelist>
262                     
263                 </listitem>
264                 
265             </varlistentry>
266             
267         </variablelist>
268         
269     </refsection>
270     
271     <refsection>
272         
273         <title>説明</title>
274         
275         <para>
276             
277             <literal>plot2d</literal> は一連の2次元曲線をプロットします.
278             
279             Matlabの<literal>plot</literal>構文に慣れている場合には, 
280             
281             <link linkend="plot">plot</link>を使用するべきです.
282             
283         </para>
284         
285         <para>
286             
287             <literal>x</literal> および <literal>y</literal> がベクトルの場合,
288             
289             plot2d(x,y,&lt;opt_args&gt;) はベクトル <literal>y</literal> を
290             
291             ベクトル <literal>x</literal>に対してプロットします. 
292             
293             ベクトル<literal>x</literal> および <literal>y</literal>は
294             
295             同じ数のエントリを有する必要があります.
296             
297         </para>
298         
299         <para>
300             
301             <literal>x</literal> がベクトルで <literal>y</literal> が行列の場合,
302             
303             plot2d(x,y,&lt;opt_args&gt;) は<literal>y</literal>の各列を
304             
305             ベクトル<literal>x</literal>に対してプロットします.
306             
307             この場合,<literal>y</literal>の列の数は<literal>x</literal>
308             
309             のエントリの数に等しい必要があります.
310             
311         </para>
312         
313         <para>
314             
315             <literal>x</literal> および <literal>y</literal> が行列の場合,
316             
317             plot2d(x,y,&lt;opt_args&gt;) は<literal>y</literal>の各列を
318             
319             対応する<literal>x</literal>の列に対してプロットします.
320             
321             この場合,<literal>x</literal> と<literal>y</literal>の
322             
323             大きさは同じである必要があります.
324             
325         </para>
326         
327         <para>
328             
329             <literal>y</literal> がベクトルの場合, plot2d(y,&lt;opt_args&gt;)
330             
331             はベクトル <literal>y</literal> をベクトル
332             
333             <literal>1:size(y,'*')</literal>に対してプロットします.
334             
335         </para>
336         
337         <para>
338             
339             <literal>y</literal> が行列の場合, plot2d(y,&lt;opt_args&gt;)
340             
341             は<literal>y</literal>の各列をベクトル
342             
343             <literal>1:size(y,1)</literal>に対してプロットします.
344             
345         </para>
346         
347         <para>
348             
349             プロットをカスタマイズするために引数<literal>&lt;opt_args&gt;</literal> を
350             
351             使用することができます.
352             
353         </para>
354         
355         <variablelist>
356             
357             <varlistentry>
358                 
359                 <term>logflag</term>
360                 
361                 <listitem>
362                     
363                     <para>このオプションは,
364                         
365                         軸スケール (線形または対数)を設定守るために使用できます.
366                         
367                         値は文字列で, 以下の値のどれかを指定します:
368                         
369                         <literal>"nn"</literal>,
370                         
371                         <literal>"nl"</literal> , <literal>"ln"</literal> および
372                         
373                         <literal>"ll"</literal>. <literal>"l"</literal> は
374                         
375                         対数軸/目盛, <literal>"n"</literal>は通常の軸を意味します.
376                         
377                     </para>
378                     
379                 </listitem>
380                 
381             </varlistentry>
382             
383             <varlistentry>
384                 
385                 <term>style</term>
386                 
387                 <listitem>
388                     
389                     <para>
390                         
391                         このオプションは,曲線の描画方法を指定する際に使用できます.
392                         
393                         このオプションを指定する場合,
394                         
395                         値には曲線と同じ数のエントリを有するベクトルを指定します.
396                         
397                     </para>
398                     
399                     <itemizedlist>
400                         
401                         <listitem>
402                             
403                             <para>
404                                 
405                                 <literal>style(i)</literal> が正の場合,
406                                 
407                                 曲線は実線で描画され,
408                                 
409                                 <literal>style(i)</literal>は曲線の描画に使用される
410                                 
411                                 色の添字を定義します(<link linkend="getcolor">getcolor</link>参照).
412                                 
413                                 線のスタイルおよび太さはpolylineエンティティプロパティ
414                                 
415                                 (<link linkend="polyline_properties">polyline_properties</link>参照)
416                                 
417                                 により設定することができることに注意してください.
418                                 
419                             </para>
420                             
421                             <para>指定した曲線の点の間は区分線形補間が行われます.</para>
422                             
423                         </listitem>
424                         
425                         <listitem>
426                             
427                             <para>
428                                 
429                                 <literal>style(i)</literal>が負またはゼロの場合,
430                                 
431                                 指定した曲線の点はマーカにより描画されます,
432                                 
433                                 <literal>abs(style(i))</literal> は使用するマーカ id を定義します.
434                                 
435                                 マークの色および大きさはpolylineエンティティプロパティ
436                                 
437                                 (<link linkend="polyline_properties">polyline_properties</link>参照)
438                                 
439                                 により設定することができることに注意してください.
440                                 
441                             </para>
442                             
443                         </listitem>
444                         
445                     </itemizedlist>
446                     
447                 </listitem>
448                 
449             </varlistentry>
450             
451             <varlistentry>
452                 
453                 <term>strf</term>
454                 
455                 <listitem>
456                     
457                     <para>
458                         
459                         長さ <literal>"xyz"</literal> (デフォルトで
460                         
461                         <literal>strf= "081"</literal>)の文字列.
462                         
463                     </para>
464                     
465                     <variablelist>
466                         
467                         <varlistentry>
468                             
469                             <term>x</term>
470                             
471                             <listitem>
472                                 
473                                 <para>凡例の表示を制御します.</para>
474                                 
475                                 <variablelist>
476                                     
477                                     <varlistentry>
478                                         
479                                         <term>x=0</term>
480                                         
481                                         <listitem>
482                                             
483                                             <para>凡例なし.</para>
484                                             
485                                         </listitem>
486                                         
487                                     </varlistentry>
488                                     
489                                     <varlistentry>
490                                         
491                                         <term>x=1</term>
492                                         
493                                         <listitem>
494                                             
495                                             <para>凡例が表示されます.凡例は,
496                                                 
497                                                 オプションの引数 <literal>leg</literal>で指定されます.
498                                                 
499                                             </para>
500                                             
501                                         </listitem>
502                                         
503                                     </varlistentry>
504                                     
505                                 </variablelist>
506                                 
507                             </listitem>
508                             
509                         </varlistentry>
510                         
511                         <varlistentry>
512                             
513                             <term>y</term>
514                             
515                             <listitem>
516                                 
517                                 <para>指定した最小限の範囲に基づく実際の座標系の範囲の計算を
518                                     
519                                     制御します. 実際の範囲は指定した最小限の範囲よりも大きくすることができます.
520                                     
521                                 </para>
522                                 
523                                 <variablelist>
524                                     
525                                     <varlistentry>
526                                         
527                                         <term>y=0</term>
528                                         
529                                         <listitem>
530                                             
531                                             <para>
532                                                 
533                                                 計算せずに,以前のスケール(またはデフォルト)を
534                                                 
535                                                 プロットに使用します
536                                                 
537                                             </para>
538                                             
539                                         </listitem>
540                                         
541                                     </varlistentry>
542                                     
543                                     <varlistentry>
544                                         
545                                         <term>y=1</term>
546                                         
547                                         <listitem>
548                                             
549                                             <para>rect引数による</para>
550                                             
551                                         </listitem>
552                                         
553                                     </varlistentry>
554                                     
555                                     <varlistentry>
556                                         
557                                         <term>y=2</term>
558                                         
559                                         <listitem>
560                                             
561                                             <para>x, y データの最小値/最大値による</para>
562                                             
563                                         </listitem>
564                                         
565                                     </varlistentry>
566                                     
567                                     <varlistentry>
568                                         
569                                         <term>y=3</term>
570                                         
571                                         <listitem>
572                                             
573                                             <para>rect引数に基づき等軸スケールで構築</para>
574                                             
575                                         </listitem>
576                                         
577                                     </varlistentry>
578                                     
579                                     <varlistentry>
580                                         
581                                         <term>y=4</term>
582                                         
583                                         <listitem>
584                                             
585                                             <para>
586                                                 
587                                                 x, y データの最小値/最大値に基づき等軸スケールで構築
588                                                 
589                                             </para>
590                                             
591                                         </listitem>
592                                         
593                                     </varlistentry>
594                                     
595                                     <varlistentry>
596                                         
597                                         <term>y=5</term>
598                                         
599                                         <listitem>
600                                             
601                                             <para>rect引数に基づき見栄え良く軸を拡大</para>
602                                             
603                                         </listitem>
604                                         
605                                     </varlistentry>
606                                     
607                                     <varlistentry>
608                                         
609                                         <term>y=6</term>
610                                         
611                                         <listitem>
612                                             
613                                             <para>
614                                                 
615                                                 x, y データの最小値/最大値に基づき見栄え良く軸を拡大
616                                                 
617                                             </para>
618                                             
619                                         </listitem>
620                                         
621                                     </varlistentry>
622                                     
623                                     <varlistentry>
624                                         
625                                         <term>y=7</term>
626                                         
627                                         <listitem>
628                                             
629                                             <para>y=1に似ていますが,
630                                                 
631                                                 前のプロットが新しいスケールを用いて再描画されます
632                                                 
633                                             </para>
634                                             
635                                         </listitem>
636                                         
637                                     </varlistentry>
638                                     
639                                     <varlistentry>
640                                         
641                                         <term>y=8</term>
642                                         
643                                         <listitem>
644                                             
645                                             <para>y=2に似ていますが,
646                                                 
647                                                 前のプロットが新しいスケールを用いて再描画されます
648                                                 
649                                             </para>
650                                             
651                                         </listitem>
652                                         
653                                     </varlistentry>
654                                     
655                                 </variablelist>
656                                 
657                             </listitem>
658                             
659                         </varlistentry>
660                         
661                         <varlistentry>
662                             
663                             <term>z</term>
664                             
665                             <listitem>
666                                 
667                                 <para>
668                                     
669                                     プロットの周囲のフレームへの情報の表示を制御します.
670                                     
671                                     軸が指定された場合,目盛の数をオプションの引数
672                                     
673                                     <literal>nax</literal>により指定できます.
674                                     
675                                 </para>
676                                 
677                                 <variablelist>
678                                     
679                                     <varlistentry>
680                                         
681                                         <term>z=0</term>
682                                         
683                                         <listitem>
684                                             
685                                             <para>プロットの周囲に何も描画されません.</para>
686                                             
687                                         </listitem>
688                                         
689                                     </varlistentry>
690                                     
691                                     <varlistentry>
692                                         
693                                         <term>z=1</term>
694                                         
695                                         <listitem>
696                                             
697                                             <para>軸が描画され, y軸が左に表示されます.</para>
698                                             
699                                         </listitem>
700                                         
701                                     </varlistentry>
702                                     
703                                     <varlistentry>
704                                         
705                                         <term>z=2</term>
706                                         
707                                         <listitem>
708                                             
709                                             <para>プロットが目盛のない箱で囲まれます.</para>
710                                             
711                                         </listitem>
712                                         
713                                     </varlistentry>
714                                     
715                                     <varlistentry>
716                                         
717                                         <term>z=3</term>
718                                         
719                                         <listitem>
720                                             
721                                             <para>軸が描画され, y軸が右に表示されます.</para>
722                                             
723                                         </listitem>
724                                         
725                                     </varlistentry>
726                                     
727                                     <varlistentry>
728                                         
729                                         <term>z=4</term>
730                                         
731                                         <listitem>
732                                             
733                                             <para>
734                                                 
735                                                 フレームボックスの中心に軸が描画されます.
736                                                 
737                                             </para>
738                                             
739                                         </listitem>
740                                         
741                                     </varlistentry>
742                                     
743                                     <varlistentry>
744                                         
745                                         <term>z=5</term>
746                                         
747                                         <listitem>
748                                             
749                                             <para>
750                                                 
751                                                 点<literal>(0,0)</literal>で交差するように
752                                                 
753                                                 軸が描画されます.
754                                                 
755                                                 点<literal>(0,0)</literal>がフレーム内にない場合,
756                                                 
757                                                 グラフ上に軸は表示されません.
758                                                 
759                                             </para>
760                                             
761                                         </listitem>
762                                         
763                                     </varlistentry>
764                                     
765                                 </variablelist>
766                                 
767                             </listitem>
768                             
769                         </varlistentry>
770                         
771                     </variablelist>
772                     
773                 </listitem>
774                 
775             </varlistentry>
776             
777             <varlistentry>
778                 
779                 <term>leg</term>
780                 
781                 <listitem>
782                     
783                     <para>このオプションは曲線の凡例を設定する際に使用されます.
784                         
785                         <literal>"leg1@leg2@...."</literal>という形式の文字列とする
786                         
787                         必要があります.
788                         
789                         ただし, <literal>leg1</literal> , <literal>leg2</literal> , ...
790                         
791                         はそれぞれ最初の曲線,2番目の曲線,... の凡例です.
792                         
793                         デフォルトは
794                         
795                         <literal> " "</literal>です.
796                         
797                     </para>
798                     
799                     <para>曲線の凡例はx軸の下に描画されます.
800                         
801                         このオプションは柔軟ではないため,なるべく,
802                         
803                         <link linkend="captions">captions</link> または <link linkend="legend">legend</link> 関数を使用してください.
804                         
805                     </para>
806                     
807                 </listitem>
808                 
809             </varlistentry>
810             
811             <varlistentry>
812                 
813                 <term>rect</term>
814                 
815                 <listitem>
816                     
817                     <para>
818                         
819                         このオプションはプロット時に指定した最小限の範囲を設定する際に
820                         
821                         使用できます.
822                         
823                         このオプションが指定された場合,
824                         
825                         値は以下の4個のエントリを有する実数ベクトルとする必要があります:
826                         
827                     </para>
828                     
829                     <para>
830                         
831                         <literal>[xmin,ymin,xmax,ymax]</literal>.
832                         
833                         <literal>xmin</literal> および <literal>xmax</literal> は横座標の範囲を定義し,
834                         
835                         <literal>ymin</literal> および <literal>ymax</literal>は縦座標の範囲を定義します.
836                         
837                     </para>
838                     
839                     <para>
840                         
841                         この引数は,指定した<literal>rect</literal>引数に基づき軸境界を
842                         
843                         定義する方法を指定する<literal>frameflag</literal>オプションと共に
844                         
845                         使用することができます.
846                         
847                         <literal>frameflag</literal>オプションが指定されない場合,
848                         
849                         <literal>frameflag=7</literal>が仮定されます.
850                         
851                     </para>
852                     
853                     <para>軸境界も軸エンティティプロパティによりカスタマイズできます
854                         
855                         (<link linkend="axes_properties">axes_properties</link>参照).
856                         
857                     </para>
858                     
859                 </listitem>
860                 
861             </varlistentry>
862             
863             <varlistentry>
864                 
865                 <term>nax</term>
866                 
867                 <listitem>
868                     
869                     <para>
870                         
871                         このオプションは軸ラベルおよび目盛定義を指定する際に使用できます.
872                         
873                         値には4個の整数エントリ<literal>[nx,Nx,ny,Ny]</literal>を有する実数ベクトルを
874                         
875                         指定します.
876                         
877                     </para>
878                     
879                     <para>
880                         
881                         <literal>Nx</literal> はx軸で使用される主目盛の数
882                         
883                         (autoticksの場合は-1を指定)を指定し,
884                         
885                         <literal>nx</literal>は2つのx軸主目盛の間に描画される副目盛の
886                         
887                         数を指定します.
888                         
889                     </para>
890                     
891                     <para>
892                         
893                         <literal>Ny</literal> および <literal>ny</literal> は
894                         
895                         y軸の同様な情報を指定します.
896                         
897                     </para>
898                     
899                     <para>
900                         
901                         <literal>axesflag</literal> オプションが設定されない場合,
902                         
903                         <literal>nax</literal> オプションは
904                         
905                         <literal>axesflag</literal>オプションが9に設定されていると
906                         
907                         仮定します.
908                         
909                     </para>
910                     
911                 </listitem>
912                 
913             </varlistentry>
914             
915             <varlistentry>
916                 
917                 <term>frameflag</term>
918                 
919                 <listitem>
920                     
921                     <para>このオプションは指定された最小限の範囲に基づく実際の
922                         
923                         座標系範囲の計算を制御するために使用できます.
924                         
925                         実際の範囲は指定された最小限の範囲よりも大きくすることができます.
926                         
927                     </para>
928                     
929                     <variablelist>
930                         
931                         <varlistentry>
932                             
933                             <term>frameflag=0</term>
934                             
935                             <listitem>
936                                 
937                                 <para>計算せずに,以前のスケール(またはデフォルト)を
938                                     
939                                     プロットに使用します.
940                                     
941                                 </para>
942                                 
943                             </listitem>
944                             
945                         </varlistentry>
946                         
947                         <varlistentry>
948                             
949                             <term>frameflag=1</term>
950                             
951                             <listitem>
952                                 
953                                 <para>実際の範囲は
954                                     
955                                     <literal>rect</literal> オプションにより指定された範囲となります.
956                                     
957                                 </para>
958                                 
959                             </listitem>
960                             
961                         </varlistentry>
962                         
963                         <varlistentry>
964                             
965                             <term>frameflag=2</term>
966                             
967                             <listitem>
968                                 
969                                 <para>実際の範囲は 
970                                     
971                                     <literal>x</literal> および<literal>y</literal> データの最小値/最大値から
972                                     
973                                     計算されます.
974                                     
975                                 </para>
976                                 
977                             </listitem>
978                             
979                         </varlistentry>
980                         
981                         <varlistentry>
982                             
983                             <term>frameflag=3</term>
984                             
985                             <listitem>
986                                 
987                                 <para>
988                                     
989                                     実際の範囲は<literal>rect</literal>オプションにより指定された範囲となり,
990                                     
991                                     等軸スケールにするために拡大されます.
992                                     
993                                 </para>
994                                 
995                             </listitem>
996                             
997                         </varlistentry>
998                         
999                         <varlistentry>
1000                             
1001                             <term>frameflag=4</term>
1002                             
1003                             <listitem>
1004                                 
1005                                 <para>実際の範囲は 
1006                                     
1007                                     <literal>x</literal> および<literal>y</literal> データの最小値/最大値から
1008                                     
1009                                     計算され,等軸スケールにするために拡大されます.
1010                                     
1011                                 </para>
1012                                 
1013                             </listitem>
1014                             
1015                         </varlistentry>
1016                         
1017                         <varlistentry>
1018                             
1019                             <term>frameflag=5</term>
1020                             
1021                             <listitem>
1022                                 
1023                                 <para>
1024                                     
1025                                     実際の範囲は<literal>rect</literal>オプションにより指定された範囲となり,
1026                                     
1027                                     軸ラベルの見栄えを良くするために拡大されます.
1028                                     
1029                                 </para>
1030                                 
1031                             </listitem>
1032                             
1033                         </varlistentry>
1034                         
1035                         <varlistentry>
1036                             
1037                             <term>frameflag=6</term>
1038                             
1039                             <listitem>
1040                                 
1041                                 <para>実際の範囲は 
1042                                     
1043                                     <literal>x</literal> および<literal>y</literal> データの最小値/最大値から
1044                                     
1045                                     計算され,軸ラベルの見栄えを良くするために拡大されます.
1046                                     
1047                                 </para>
1048                                 
1049                             </listitem>
1050                             
1051                         </varlistentry>
1052                         
1053                         <varlistentry>
1054                             
1055                             <term>frameflag=7</term>
1056                             
1057                             <listitem>
1058                                 
1059                                 <para>
1060                                     
1061                                     <literal>frameflag=1</literal>と似ていますが,
1062                                     
1063                                     前のプロットが新しいスケールを用いて再描画されます.
1064                                     
1065                                     カレントのグラフに前のプロットを追加するために使用されます.
1066                                     
1067                                 </para>
1068                                 
1069                             </listitem>
1070                             
1071                         </varlistentry>
1072                         
1073                         <varlistentry>
1074                             
1075                             <term>frameflag=8</term>
1076                             
1077                             <listitem>
1078                                 
1079                                 <para>
1080                                     
1081                                     <literal>frameflag=2</literal>と似ていますが,
1082                                     
1083                                     前のプロットが新しいスケールを用いて再描画されます.
1084                                     
1085                                     カレントのグラフに前のプロットを追加するために使用されます.
1086                                     
1087                                 </para>
1088                                 
1089                             </listitem>
1090                             
1091                         </varlistentry>
1092                         
1093                         <varlistentry>
1094                             
1095                             <term>frameflag=9</term>
1096                             
1097                             <listitem>
1098                                 
1099                                 <para>
1100                                     
1101                                     <literal>frameflag=8</literal> と似ていますが,
1102                                     
1103                                     範囲は軸ラベルの見栄えを良くするために拡大されます.
1104                                     
1105                                     これはデフォルト値です.
1106                                     
1107                                 </para>
1108                                 
1109                             </listitem>
1110                             
1111                         </varlistentry>
1112                         
1113                     </variablelist>
1114                     
1115                     <para>軸の境界も軸エンティティプロパティによりカスタマイズできます
1116                         
1117                         (s<link linkend="axes_properties">axes_properties</link>参照).
1118                         
1119                     </para>
1120                     
1121                 </listitem>
1122                 
1123             </varlistentry>
1124             
1125             <varlistentry>
1126                 
1127                 <term>axesflag</term>
1128                 
1129                 <listitem>
1130                     
1131                     <para>軸の描画方法を指定するためにこのオプションを指定することができます.
1132                         
1133                         値には 0 から 5の範囲の整数を指定します :
1134                         
1135                     </para>
1136                     
1137                     <variablelist>
1138                         
1139                         <varlistentry>
1140                             
1141                             <term>axesflag=0</term>
1142                             
1143                             <listitem>
1144                                 
1145                                 <para>プロットの周囲に何も描画されません (axes_visible=["off"
1146                                     
1147                                     "off"];box="off").
1148                                     
1149                                 </para>
1150                                 
1151                             </listitem>
1152                             
1153                         </varlistentry>
1154                         
1155                         <varlistentry>
1156                             
1157                             <term>axesflag=1</term>
1158                             
1159                             <listitem>
1160                                 
1161                                 <para>軸が描画され, y軸が左に表示されます
1162                                     
1163                                     (axes_visible=["on" "on"];box="on",y_location="left").
1164                                     
1165                                 </para>
1166                                 
1167                             </listitem>
1168                             
1169                         </varlistentry>
1170                         
1171                         <varlistentry>
1172                             
1173                             <term>axesflag=2</term>
1174                             
1175                             <listitem>
1176                                 
1177                                 <para>プロットは目盛のない箱で囲われます
1178                                     
1179                                     (axes_visible=["off" "off"];box="on").
1180                                     
1181                                 </para>
1182                                 
1183                             </listitem>
1184                             
1185                         </varlistentry>
1186                         
1187                         <varlistentry>
1188                             
1189                             <term>axesflag=3</term>
1190                             
1191                             <listitem>
1192                                 
1193                                 <para>軸が描画され, y軸が右に表示されます
1194                                     
1195                                     (axes_visible=["on"
1196                                     
1197                                     "on"];box="off",y_location="right").
1198                                     
1199                                 </para>
1200                                 
1201                             </listitem>
1202                             
1203                         </varlistentry>
1204                         
1205                         <varlistentry>
1206                             
1207                             <term>axesflag=4</term>
1208                             
1209                             <listitem>
1210                                 
1211                                 <para>軸がフレームの中心に描画され,箱は描画されません
1212                                     
1213                                     (axes_visible=["on" "on"];box="off",x_location="middle",
1214                                     
1215                                     y_location="middle").
1216                                     
1217                                 </para>
1218                                 
1219                             </listitem>
1220                             
1221                         </varlistentry>
1222                         
1223                         <varlistentry>
1224                             
1225                             <term>axesflag=5</term>
1226                             
1227                             <listitem>
1228                                 
1229                                 <para>
1230                                     
1231                                     <literal>axesflag=4</literal>に似た軸がフレームの中心に描画されます.
1232                                     
1233                                     違いは箱が描画されることです
1234                                     
1235                                     (axes_visible=["on" "on"];box="on",x_location="middle",y_location="middle").
1236                                     
1237                                 </para>
1238                                 
1239                             </listitem>
1240                             
1241                         </varlistentry>
1242                         
1243                         <varlistentry>
1244                             
1245                             <term>axesflag=9</term>
1246                             
1247                             <listitem>
1248                                 
1249                                 <para>軸が描画され, y軸が左に表示されます
1250                                     
1251                                     (axes_visible=["on" "on"];box="off",y_location="left"). 
1252                                     
1253                                     これがデフォルト値です
1254                                     
1255                                 </para>
1256                                 
1257                             </listitem>
1258                             
1259                         </varlistentry>
1260                         
1261                     </variablelist>
1262                     
1263                     <para>軸の特性も軸エンティティプロパティによりカスタマイズできます
1264                         
1265                         (<link linkend="axes_properties">axes_properties</link>参照).
1266                         
1267                     </para>
1268                     
1269                 </listitem>
1270                 
1271             </varlistentry>
1272             
1273         </variablelist>
1274         
1275     </refsection>
1276     
1277     <refsection>
1278         
1279         <title>その他の情報</title>
1280         
1281         <para>デフォルトで, 連続プロットは重ね書きされます. 前のプロットを
1282             
1283             消去するには,
1284             
1285             <literal>
1286                 
1287                 <link linkend="clf">clf()</link>
1288                 
1289             </literal>
1290             
1291             を使用してください.
1292             
1293         </para>
1294         
1295         <para>
1296             
1297             デモを参照するにはコマンド <literal>plot2d()</literal> を使用してください.
1298             
1299         </para>
1300         
1301         <para>その他に以下のような高レベルplot2d 関数が存在します:</para>
1302         
1303         <itemizedlist>
1304             
1305             <listitem>
1306                 
1307                 <para>
1308                     
1309                     plot2d2 は <literal>plot2d</literal> と同じですが,曲線は
1310                     
1311                     区分定数と仮定されます.
1312                     
1313                 </para>
1314                 
1315             </listitem>
1316             
1317             <listitem>
1318                 
1319                 <para>
1320                     
1321                     plot2d3 は<literal>plot2d</literal> と同じですが, 曲線は
1322                     
1323                     垂直棒グラフとしてプロットされます.
1324                     
1325                 </para>
1326                 
1327             </listitem>
1328             
1329             <listitem>
1330                 
1331                 <para>
1332                     
1333                     plot2d4 は <literal>plot2d</literal> と同じですが, 曲線は
1334                     
1335                     垂直な矢印をでプロットされます.
1336                     
1337                 </para>
1338                 
1339             </listitem>
1340             
1341         </itemizedlist>
1342         
1343     </refsection>
1344     
1345     <refsection>
1346         
1347         <title>例</title>
1348         
1349         <programlisting role="example"><![CDATA[ 
1350
1351 // x 初期化
1352
1353 x=[0:0.1:2*%pi]';
1354
1355 //簡単なプロット
1356
1357 plot2d(sin(x));
1358
1359  ]]></programlisting>
1360         
1361         <scilab:image>
1362             x=[0:0.1:2*%pi]';
1363             plot2d(sin(x));
1364         </scilab:image>
1365         
1366         <programlisting role="example"><![CDATA[ 
1367
1368 clf();
1369
1370 x=[0:0.1:2*%pi]';
1371
1372 plot2d(x,sin(x));
1373
1374 //複数のプロット
1375
1376  ]]></programlisting>
1377         
1378         <scilab:image>
1379             x=[0:0.1:2*%pi]';
1380             plot2d(x,sin(x));
1381         </scilab:image>
1382         
1383         <programlisting role="example"><![CDATA[ 
1384
1385 clf();
1386
1387 x=[0:0.1:2*%pi]';
1388
1389 plot2d(x,[sin(x) sin(2*x) sin(3*x)])
1390
1391  ]]></programlisting>
1392         
1393         <scilab:image>
1394             x=[0:0.1:2*%pi]';
1395             plot2d(x,[sin(x) sin(2*x) sin(3*x)])
1396         </scilab:image>
1397         
1398         <programlisting role="example"><![CDATA[ 
1399
1400 // フレームの次元を指定した複数プロット
1401
1402 clf();
1403
1404 plot2d(x,[sin(x) sin(2*x) sin(3*x)],rect=[0,0,6,0.5]);
1405
1406  ]]></programlisting>
1407         
1408         <scilab:image>
1409             x=[0:0.1:2*%pi]';
1410             plot2d(x,[sin(x) sin(2*x) sin(3*x)],rect=[0,0,6,0.5]);
1411         </scilab:image>
1412         
1413         <programlisting role="example"><![CDATA[ 
1414
1415 //凡例と目盛/スタイルを指定した複数プロット
1416
1417 clf();
1418
1419 plot2d(x,[sin(x) sin(2*x) sin(3*x)],..
1420
1421        [1,2,3],leg="L1@L2@L3",nax=[2,10,2,10],rect=[0,-2,2*%pi,2]);
1422
1423  ]]></programlisting>
1424         
1425         <scilab:image>
1426             x=[0:0.1:2*%pi]';
1427             plot2d(x,[sin(x) sin(2*x) sin(3*x)],..
1428             [1,2,3],leg="L1@L2@L3",nax=[2,10,2,10],rect=[0,-2,2*%pi,2]);
1429         </scilab:image>
1430         
1431         <programlisting role="example"><![CDATA[ 
1432
1433 // 等軸
1434
1435 clf();
1436
1437 plot2d(x,sin(x),1,frameflag= 4);
1438
1439  ]]></programlisting>
1440         
1441         <scilab:image>
1442             x=[0:0.1:2*%pi]';
1443             plot2d(x,sin(x),1,frameflag= 4);
1444         </scilab:image>
1445         
1446         <programlisting role="example"><![CDATA[ 
1447
1448 // スケール 
1449
1450 clf();
1451
1452 plot2d(x,sin(x),1,frameflag= 6);
1453
1454  ]]></programlisting>
1455         
1456         <scilab:image>
1457             x=[0:0.1:2*%pi]';
1458             plot2d(x,sin(x),1,frameflag= 6);
1459         </scilab:image>
1460         
1461         <programlisting role="example"><![CDATA[ 
1462
1463 // 前のプロット/スタイルでオートスケール
1464
1465 clf();
1466
1467 plot2d(x,sin(x),-1);
1468
1469 plot2d(x,2*sin(x),12); 
1470
1471 plot2d(2*x,cos(x),3);
1472
1473  ]]></programlisting>
1474         
1475         <scilab:image>
1476             x=[0:0.1:2*%pi]';
1477             plot2d(x,sin(x),-1);
1478             plot2d(x,2*sin(x),12); 
1479             plot2d(2*x,cos(x),3);
1480         </scilab:image>
1481         
1482         <programlisting role="example"><![CDATA[ 
1483
1484 // 軸を右に
1485
1486 clf();
1487
1488 plot2d(x,sin(x),leg="sin(x)");
1489
1490 a=gca(); // 軸エンティティのハンドル 
1491
1492 a.y_location ="right";
1493
1494  ]]></programlisting>
1495         
1496         <scilab:image>
1497             x=[0:0.1:2*%pi]';
1498             plot2d(x,sin(x),leg="sin(x)");
1499             a=gca(); // Handle on axes entity 
1500             a.y_location ="right"; 
1501         </scilab:image>
1502         
1503         <programlisting role="example"><![CDATA[ 
1504
1505  
1506
1507 // 軸の中心を (0,0) に
1508
1509 clf();
1510
1511 plot2d(x-4,sin(x),1,leg="sin(x)");
1512
1513 a=gca(); // 軸エンティティのハンドル
1514
1515 a.x_location = "origin"; 
1516
1517 a.y_location = "origin"; 
1518
1519 // plot2dで作成されたエンティティを操作 ...
1520
1521 a=gca();
1522
1523 a.isoview='on'; 
1524
1525 a.children // 軸の子の一覧.
1526
1527 // 2個のポリラインと1個の凡例からなる複合要素がある 
1528
1529 poly1= a.children(1).children(1); //ポリラインのハンドルをpoly1に保存
1530
1531 poly1.foreground = 4; // スタイルを変更する別の方法...
1532
1533 poly1.thickness = 3;  // ...曲線の太さを変更.
1534
1535 poly1.clip_state='off'; // クリッピングの制御
1536
1537 leg = a.children(2); // 凡例のハンドルをlegに保存
1538
1539 leg.font_style = 9; 
1540
1541 leg.line_mode = "on";
1542
1543 a.isoview='off';
1544
1545  ]]></programlisting>
1546         
1547         <scilab:image>
1548             
1549             // axis centered at (0,0) 
1550             clf();
1551             x=[0:0.1:2*%pi]';
1552             plot2d(x-4,sin(x),1,leg="sin(x)");
1553             a=gca(); // Handle on axes entity
1554             a.x_location = "origin"; 
1555             a.y_location = "origin"; 
1556             // Some operations on entities created by plot2d ...
1557             a=gca();
1558             a.isoview='on'; 
1559             a.children // list the children of the axes.
1560             // There are a compound made of two polylines and a legend 
1561             poly1= a.children(1).children(1); //store polyline handle into poly1 
1562             poly1.foreground = 4; // another way to change the style...
1563             poly1.thickness = 3;  // ...and the thickness of a curve.
1564             poly1.clip_state='off'; // clipping control
1565             leg = a.children(2); // store legend handle into leg
1566             leg.font_style = 9; 
1567             leg.line_mode = "on";
1568             a.isoview='off';
1569         </scilab:image>
1570         
1571     </refsection>
1572     
1573     <refsection role="see also">
1574         
1575         <title>参照</title>
1576         
1577         <simplelist type="inline">
1578             
1579             <member>
1580                 
1581                 <link linkend="plot">plot</link>
1582                 
1583             </member>
1584             
1585             <member>
1586                 
1587                 <link linkend="plot2d1">plot2d1</link>
1588                 
1589             </member>
1590             
1591             <member>
1592                 
1593                 <link linkend="plot2d2">plot2d2</link>
1594                 
1595             </member>
1596             
1597             <member>
1598                 
1599                 <link linkend="plot2d3">plot2d3</link>
1600                 
1601             </member>
1602             
1603             <member>
1604                 
1605                 <link linkend="plot2d4">plot2d4</link>
1606                 
1607             </member>
1608             
1609             <member>
1610                 
1611                 <link linkend="clf">clf</link>
1612                 
1613             </member>
1614             
1615             <member>
1616                 
1617                 <link linkend="xdel">xdel</link>
1618                 
1619             </member>
1620             
1621             <member>
1622                 
1623                 <link linkend="delete">delete</link>
1624                 
1625             </member>
1626             
1627         </simplelist>
1628         
1629     </refsection>
1630     
1631 </refentry>
1632