update japanese translation of core module.
[scilab.git] / scilab / modules / graphics / help / ja_JP / xchange.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) ENPC - Jean-Philippe Chancelier
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="xchange">
26     
27     <refnamediv>
28         
29         <refname>xchange</refname>
30         
31         <refpurpose>実座標をピクセル座標に変換する</refpurpose>
32         
33     </refnamediv>
34     
35     <refsynopsisdiv>
36         
37         <title>呼び出し手順</title>
38         
39         <synopsis>[x1, y1, rect] = xchange(x, y, dir)</synopsis>
40         
41     </refsynopsisdiv>
42     
43     <refsection>
44         
45         <title>引数</title>
46         
47         <variablelist>
48             
49             <varlistentry>
50                 
51                 <term>x,y</term>
52                 
53                 <listitem>
54                     
55                     <para>
56                         
57                         大きさ<literal>(n1, n2)</literal>(点の集合の座標)の行列.
58                         
59                     </para>
60                     
61                 </listitem>
62                 
63             </varlistentry>
64             
65             <varlistentry>
66                 
67                 <term>dir</term>
68                 
69                 <listitem>
70                     
71                     <para>
72                         
73                         変換の種類を指定するパラメータ (詳細は "説明" 参照)
74                         
75                     </para>
76                     
77                 </listitem>
78                 
79             </varlistentry>
80             
81             <varlistentry>
82                 
83                 <term>x1,y1</term>
84                 
85                 <listitem>
86                     
87                     <para>
88                         
89                         t大きさ<literal>(n1, n2)</literal>(点の集合の座標)の行列.
90                         
91                     </para>
92                     
93                 </listitem>
94                 
95             </varlistentry>
96             
97             <varlistentry>
98                 
99                 <term>rect</term>
100                 
101                 <listitem>
102                     
103                     <para>大きさ 4のベクトル.</para>
104                     
105                 </listitem>
106                 
107             </varlistentry>
108             
109         </variablelist>
110         
111     </refsection>
112     
113     <refsection>
114         
115         <title>説明</title>
116         
117         <para>
118             
119             <function>xchange</function>は,
120             
121             グラフィック関数を使用した後,
122             
123             パラメータ<varname>dir</varname>の値に基づき,
124             
125             実座標からピクセル座標への変換またはその逆変換を計算します:
126             
127             <literal>"f2i"</literal>(float to int) は実座標からピクセルを意味し, 
128             
129             <literal>"i2f"</literal> (int to float)
130             
131             はピクセルから実座標を意味します.
132             
133         </para>
134         
135         <para>    
136             
137             <varname>x1</varname> および <varname>y1</varname>は,
138             
139             古い座標 <varname>x</varname> と <varname>y</varname>により
140             
141             定義される一連の点の新しい座標です.
142             
143         </para>
144         
145         <para>
146             
147             <varname>rect</varname>  は,
148             
149             プロットが行われる矩形のピクセル単位の座標です:
150             
151             [左上の点, 幅, 高さ].
152             
153         </para>
154         
155     </refsection>
156     
157     <refsection>
158         
159         <title>例</title>
160         
161         <programlisting role="example"><![CDATA[ 
162
163 t=[0:0.1:2*%pi]';
164
165 plot2d(t,sin(t))
166
167 [x,y,rect]=xchange(1,1,"f2i")
168
169 [x,y,rect]=xchange(0,0,"i2f")
170
171  ]]></programlisting>
172         
173     </refsection>
174     
175 </refentry>
176