update japanese translation of core module.
[scilab.git] / scilab / modules / graphics / help / ja_JP / axis / axis_properties.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 - Djalel Abdemouche
8
9  * 
10
11  * This file must be used under the terms of the CeCILL.
12
13  * This source file is licensed as described in the file COPYING, which
14
15  * you should have received as part of this distribution.  The terms
16
17  * are also available at    
18
19  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
20
21  *
22
23  -->
24
25 <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="axis_properties">
26     
27     <refnamediv>
28         
29         <refname>axis_properties</refname>
30         
31         <refpurpose>axis エンティティプロパティの説明</refpurpose>
32         
33     </refnamediv>
34     
35     <refsection>
36         
37         <title>説明</title>
38         
39         <para>Axisエンティティは,グラフィックエンティティ階層の葉です.
40             
41             このエンティティは, axis のスケーリングおよび外観のパラメータを定義します.
42             
43         </para>
44         
45         <variablelist>
46             
47             <varlistentry>
48                 
49                 <term>Axis プロパティ</term>
50                 
51                 <listitem>
52                     
53                     <variablelist>
54                         
55                         <varlistentry>
56                             
57                             <term>parent: </term>
58                             
59                             <listitem>
60                                 
61                                 <para>このプロパティには親のハンドルが含まれます.
62                                     
63                                     axis エンティティの親は, <literal>"Axes"</literal>または
64                                     
65                                     <literal>"Compound"</literal>となります.
66                                     
67                                 </para>
68                                 
69                             </listitem>
70                             
71                         </varlistentry>
72                         
73                         <varlistentry>
74                             
75                             <term>visible: </term>
76                             
77                             <listitem>
78                                 
79                                 <para>
80                                     
81                                     このフィールドにはエンティティの<literal>visible</literal>
82                                     
83                                     プロパティの値が含まれます.
84                                     
85                                     この値は, <literal>"on" </literal> または <literal>"off"</literal> です.
86                                     
87                                     デフォルトでは, axis エンティティは可視 (visible)で,
88                                     
89                                     このプロパティの値は<literal>"on"</literal>となります.
90                                     
91                                     <literal>"off"</literal>の場合, その軸は画面に描画されません.
92                                     
93                                 </para>
94                                 
95                             </listitem>
96                             
97                         </varlistentry>
98                         
99                         <varlistentry>
100                             
101                             <term>tics_direction: </term>
102                             
103                             <listitem>
104                                 
105                                 <para>水平軸および垂直軸の下に描画される目盛の方向を指定します.
106                                     
107                                     このプロパティには以下の値を指定可能です:
108                                     
109                                 </para>
110                                 
111                                 <itemizedlist>
112                                     
113                                     <listitem>
114                                         
115                                         <para>
116                                             
117                                             <literal>"top"</literal>. この場合, 目盛は水平軸の上部に描画されます.
118                                             
119                                         </para>
120                                         
121                                     </listitem>
122                                     
123                                     <listitem>
124                                         
125                                         <para>
126                                             
127                                             <literal>"bottom"</literal>. この場合, 目盛は水平軸の下部に描画されます.
128                                             
129                                         </para>
130                                         
131                                     </listitem>
132                                     
133                                     <listitem>
134                                         
135                                         <para>
136                                             
137                                             <literal>"left"</literal>. この場合, 目盛は垂直軸の左に描画されます.
138                                             
139                                         </para>
140                                         
141                                     </listitem>
142                                     
143                                     <listitem>
144                                         
145                                         <para>
146                                             
147                                             <literal>"right"</literal>. この場合, 目盛は垂直軸の右に描画されます.
148                                             
149                                         </para>
150                                         
151                                     </listitem>
152                                     
153                                 </itemizedlist>
154                                 
155                                 <para>
156                                     
157                                     デフォルト値は,水平軸に関して <literal>"top"</literal>,
158                                     
159                                     垂直軸に関して<literal>"right"</literal>です.
160                                     
161                                 </para>
162                                 
163                             </listitem>
164                             
165                         </varlistentry>
166                         
167                         <varlistentry>
168                             
169                             <term>xtics_coord: </term>
170                             
171                             <listitem>
172                                 
173                                 <para>このフィールドは軸のx座標を表します.
174                                     
175                                     これは左から右に値が増加する行ベクトルで,
176                                     
177                                     水平軸の目盛の位置を指定します.
178                                     
179                                     エンティティが垂直軸の場合,
180                                     
181                                     このプロパティにはx軸の原点を定義するスケールが
182                                     
183                                     含まれます.
184                                     
185                                 </para>
186                                 
187                             </listitem>
188                             
189                         </varlistentry>
190                         
191                         <varlistentry>
192                             
193                             <term>ytics_coord: </term>
194                             
195                             <listitem>
196                                 
197                                 <para>
198                                     
199                                     このフィールドは軸のy座標を表します.
200                                     
201                                     これは下から上に値が増加する行ベクトルで,
202                                     
203                                     垂直軸の目盛の位置を指定します.
204                                     
205                                     エンティティが水平軸の場合,
206                                     
207                                     このプロパティにはy軸の原点を定義するスケールが
208                                     
209                                     含まれます.
210                                     
211                                 </para>
212                                 
213                             </listitem>
214                             
215                         </varlistentry>
216                         
217                         <varlistentry>
218                             
219                             <term>tics_color: </term>
220                             
221                             <listitem>
222                                 
223                                 <para>このプロパティの値は,
224                                     
225                                     軸の線および目盛を描画する際に使用される色のインデックスです.
226                                     
227                                 </para>
228                                 
229                             </listitem>
230                             
231                         </varlistentry>
232                         
233                         <varlistentry>
234                             
235                             <term>tics_segment: </term>
236                             
237                             <listitem>
238                                 
239                                 <para>
240                                     
241                                     このフィールドには軸の基本部分の表示を制御するフラグが
242                                     
243                                     含まれます.
244                                     
245                                     デフォルトは<literal>"on"</literal>で,それ以外の場合は
246                                     
247                                     このプロパティの値は <literal>"off"</literal>となり,
248                                     
249                                     表示されません.
250                                     
251                                 </para>
252                                 
253                             </listitem>
254                             
255                         </varlistentry>
256                         
257                         <varlistentry>
258                             
259                             <term>tics_style: </term>
260                             
261                             <listitem>
262                                 
263                                 <para>このプロパティは目盛の指定方法を規定します.
264                                     
265                                     この値は文字列で以下の値を指定可能です:
266                                     
267                                 </para>
268                                 
269                                 <itemizedlist>
270                                     
271                                     <listitem>
272                                         
273                                         <para>
274                                             
275                                             <literal>"v"</literal>. これはデフォルト値で,
276                                             
277                                             この場合,目盛の位置は,水平軸については
278                                             
279                                             行係数<literal>xtics_coord</literal>
280                                             
281                                             (垂直軸については<literal>ytics_coord</literal>)
282                                             
283                                             で指定されます.
284                                             
285                                         </para>
286                                         
287                                     </listitem>
288                                     
289                                     <listitem>
290                                         
291                                         <para>
292                                             
293                                             <literal>"r"</literal>. この場合, 目盛の位置は
294                                             
295                                             ベクトル<literal>[min,max,n] </literal>で指定されます.
296                                             
297                                             ただし,nは間隔の数です.
298                                             
299                                         </para>
300                                         
301                                     </listitem>
302                                     
303                                     <listitem>
304                                         
305                                         <para>
306                                             
307                                             <literal>"i"</literal>.この場合, 目盛の位置を
308                                             
309                                             指定するベクトルは大きさ 4 の 
310                                             
311                                             <literal>[k1,k2,a,n]</literal> となります.
312                                             
313                                             この時, 値は <literal>k1*10^a</literal>と
314                                             
315                                             <literal>k2*10^a</literal>の間で増加し,
316                                             
317                                             n は間隔の数となります.
318                                             
319                                         </para>
320                                         
321                                     </listitem>
322                                     
323                                 </itemizedlist>
324                                 
325                             </listitem>
326                             
327                         </varlistentry>
328                         
329                         <varlistentry>
330                             
331                             <term>sub_tics: </term>
332                             
333                             <listitem>
334                                 
335                                 <para>このフィールドは2つの主目盛の間に描画される目盛の数を
336                                     
337                                     設定します.
338                                     
339                                 </para>
340                                 
341                             </listitem>
342                             
343                         </varlistentry>
344                         
345                         <varlistentry>
346                             
347                             <term>tics_labels: </term>
348                             
349                             <listitem>
350                                 
351                                 <para>このフィールドは文字列行列で,
352                                     
353                                     目盛の位置に軸に沿って描画される文字列を含みます.
354                                     
355                                 </para>
356                                 
357                             </listitem>
358                             
359                         </varlistentry>
360                         
361                         <varlistentry>
362                             
363                             <term>format_n: </term>
364                             
365                             <listitem>
366                                 
367                                 <para>このプロパティは目盛ラベル数値の浮動小数点表示形式を指定する
368                                     
369                                     文字列です.ここでは,C言語の printf 関数のフォーマット構文
370                                     
371                                     (例えば<literal>"%.3f"</literal>)を使用します.
372                                     
373                                     <literal>""</literal>に等しい場合,
374                                     
375                                     デフォルトの表示形式が使用されます.
376                                     
377                                 </para>
378                                 
379                             </listitem>
380                             
381                         </varlistentry>
382                         
383                         <varlistentry>
384                             
385                             <term>labels_font_color: </term>
386                             
387                             <listitem>
388                                 
389                                 <para>このプロパティは目盛ラベルの色を定義します.</para>
390                                 
391                             </listitem>
392                             
393                         </varlistentry>
394                         
395                         <varlistentry>
396                             
397                             <term>labels_font_size: </term>
398                             
399                             <listitem>
400                                 
401                                 <para>スカラー値で,目盛ラベルの文字の大きさを指定します.
402                                     
403                                     <literal>fractional_font</literal> プロパティが  <literal>"off"</literal>
404                                     
405                                     の場合, この値の整数部のみが使用されます.
406                                     
407                                     より詳細な情報については, <link linkend="graphics_fonts">graphics_fonts</link>
408                                     
409                                     を参照ください.
410                                     
411                                 </para>
412                                 
413                             </listitem>
414                             
415                         </varlistentry>
416                         
417                         <varlistentry>
418                             
419                             <term>fractional_font: </term>
420                             
421                             <listitem>
422                                 
423                                 <para>
424                                     
425                                     このプロパティは目盛ラベルが分数のフォントの大きさにより表示されるかどうかを
426                                     
427                                     指定します.
428                                     
429                                     値には<literal>"on"</literal> または <literal>"off"</literal>のどちらを
430                                     
431                                     指定します.<literal>"on"</literal>の場合,
432                                     
433                                     <literal>font_size</literal>の浮動小数点数の値が表示に使用され,
434                                     
435                                     フォントはアンチエイリアス処理されます.
436                                     
437                                     <literal>"off"</literal> の場合,整数部のみが使用され,
438                                     
439                                     フォントは平滑化されません.
440                                     
441                                 </para>
442                                 
443                             </listitem>
444                             
445                         </varlistentry>
446                         
447                         <varlistentry>
448                             
449                             <term>clip_state: </term>
450                             
451                             <listitem>
452                                 
453                                 <para>
454                                     
455                                     このフィールドには弧の<literal>clip_state</literal>プロパティ値
456                                     
457                                     が含まれます.
458                                     
459                                     clip_state の値は以下となります:
460                                     
461                                 </para>
462                                 
463                                 <itemizedlist>
464                                     
465                                     <listitem>
466                                         
467                                         <para>
468                                             
469                                             <literal>"off"</literal> これは軸がクリッピングされないことを意味します.
470                                             
471                                         </para>
472                                         
473                                     </listitem>
474                                     
475                                     <listitem>
476                                         
477                                         <para>
478                                             
479                                             <literal>"clipgrf"</literal> これは軸がAxesボックスの外側で
480                                             
481                                             クリップされることを意味します.
482                                             
483                                         </para>
484                                         
485                                     </listitem>
486                                     
487                                     <listitem>
488                                         
489                                         <para>
490                                             
491                                             <literal>"on"</literal> これはclip_boxプロパティで指定される
492                                             
493                                             弧の外側で軸がクリップされることを意味します.
494                                             
495                                         </para>
496                                         
497                                     </listitem>
498                                     
499                                 </itemizedlist>
500                                 
501                             </listitem>
502                             
503                         </varlistentry>
504                         
505                         <varlistentry>
506                             
507                             <term>clip_box: </term>
508                             
509                             <listitem>
510                                 
511                                 <para>
512                                     
513                                     このフィールドは<literal>clip_box</literal>プロパティを定義します.
514                                     
515                                     clip_state が "off" の場合,デフォルトでこの値は空行列となります.
516                                     
517                                     その他の場合, ベクトル <literal>[x,y,w,h]</literal> (左上の点 幅 高さ)
518                                     
519                                     は表示する軸の位置を定義しますが,
520                                     
521                                     <literal>clip_state</literal>プロパティの値は変更されます.
522                                     
523                                 </para>
524                                 
525                             </listitem>
526                             
527                         </varlistentry>
528                         
529                         <varlistentry>
530                             
531                             <term>user_data: </term>
532                             
533                             <listitem>
534                                 
535                                 <para>このフィールドは任意のScilab変数をaxisデータ構造に保存し,
536                                     
537                                     再取得するために使用することができます.
538                                     
539                                 </para>
540                                 
541                             </listitem>
542                             
543                         </varlistentry>
544                         
545                     </variablelist>
546                     
547                 </listitem>
548                 
549             </varlistentry>
550             
551         </variablelist>
552         
553     </refsection>
554     
555     <refsection>
556         
557         <title>例</title>
558         
559         <programlisting role="example"><![CDATA[ 
560
561 a=get("current_axes");//新規に作成された軸のハンドルを取得
562
563 a.data_bounds=[-1,-1;10,10];
564
565
566
567 drawaxis(x=2:7,y=4,dir='u');
568
569 a1=a.children(1)
570
571 a1.xtics_coord=[1 4 5  8 10];
572
573 a1.tics_color=2;
574
575 a1.labels_font_size=3;
576
577 a1.tics_direction="bottom";
578
579 a1.tics_labels= [" February" "May"  "june" "August"  "October"];
580
581   
582
583 drawaxis(x=1.2:1:10,y=5,dir='u',textcolor=13);
584
585 a2=get("hdl")
586
587 a2.sub_tics=0;
588
589 a2.tics_segment="off";
590
591 a2.ytics_coord=4;
592
593   
594
595 drawaxis(x=-1,y=0:1:7,dir='r',fontsize=10,textcolor=5,ticscolor=6,sub_int=10)
596
597 a3=get("hdl");
598
599 a3.tics_labels= 'B'  +string(0:7);
600
601 a3.tics_direction="left";
602
603  ]]></programlisting>
604         
605     </refsection>
606     
607     <refsection role="see also">
608         
609         <title>参照</title>
610         
611         <simplelist type="inline">
612             
613             <member>
614                 
615                 <link linkend="set">set</link>
616                 
617             </member>
618             
619             <member>
620                 
621                 <link linkend="get">get</link>
622                 
623             </member>
624             
625             <member>
626                 
627                 <link linkend="delete">delete</link>
628                 
629             </member>
630             
631             <member>
632                 
633                 <link linkend="drawaxis">drawaxis</link>
634                 
635             </member>
636             
637             <member>
638                 
639                 <link linkend="graphics_entities">graphics_entities</link>
640                 
641             </member>
642             
643         </simplelist>
644         
645     </refsection>
646     
647 </refentry>
648