~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/graphics/help/ja_JP/2d_plot/plot2d1.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<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" version="5.0-subset Scilab" xml:lang="ja" xml:id="plot2d1">
14
 
  <refnamediv>
15
 
    <refname>plot2d1</refname>
16
 
    <refpurpose>2次元プロット (対数軸)
17
 
      (古い関数)
18
 
    </refpurpose>
19
 
  </refnamediv>
20
 
  <refsynopsisdiv>
21
 
    <title>Calling Sequence</title>
22
 
    <synopsis>plot2d1(str,x,y,[style,strf,leg,rect,nax])</synopsis>
23
 
  </refsynopsisdiv>
24
 
  <refsection>
25
 
    <title>Parameters</title>
26
 
    <variablelist>
27
 
      <varlistentry>
28
 
        <term>str</term>
29
 
        <listitem>
30
 
          <para>
31
 
            is a string of length three <literal>"abc"</literal>.
32
 
          </para>
33
 
          <variablelist>
34
 
            <varlistentry>
35
 
              <term>a</term>
36
 
              <listitem>
37
 
                <para>
38
 
                  can have the following values: <literal>e</literal>,
39
 
                  <literal>o</literal> or <literal>g</literal>.
40
 
                </para>
41
 
                <variablelist>
42
 
                  <varlistentry>
43
 
                    <term>e</term>
44
 
                    <listitem>
45
 
                      <para>means "empty". Itspecifies the fact that the value
46
 
                        of <literal>x</literal> is not used (the <literal>x</literal> values
47
 
                        are supposed to be regularly spaced, ie 1:&lt;number of
48
 
                        rows of <literal>y</literal>&gt;). The user must anyway give a
49
 
                        value for <literal>x</literal>, 1 for instance:
50
 
                        <literal>plot2d1("enn",1,y)</literal>.
51
 
                      </para>
52
 
                    </listitem>
53
 
                  </varlistentry>
54
 
                  <varlistentry>
55
 
                    <term>o</term>
56
 
                    <listitem>
57
 
                      <para>means "one". If there are many curves, they all
58
 
                        have the same x-values: <literal>x</literal> is a column
59
 
                        vector of size nl and <literal>y</literal> is a matrix of size
60
 
                        (nl,nc). For example : 
61
 
                        <literal>x=[0:0.1:2*%pi]';plot2d1("onn",x,[sin(x) cos(x)])</literal>.
62
 
                      </para>
63
 
                    </listitem>
64
 
                  </varlistentry>
65
 
                  <varlistentry>
66
 
                    <term>g</term>
67
 
                    <listitem>
68
 
                      <para>
69
 
                        means "general". <literal>x</literal> and <literal>y</literal>
70
 
                        must have the same size (nl,nc). Each column of
71
 
                        <literal>y</literal> is plotted with respect to the
72
 
                        corresponding column of <literal>x</literal>. <literal>nc</literal>
73
 
                        curves are plotted using <literal>nl</literal> points.
74
 
                      </para>
75
 
                    </listitem>
76
 
                  </varlistentry>
77
 
                </variablelist>
78
 
              </listitem>
79
 
            </varlistentry>
80
 
            <varlistentry>
81
 
              <term>b, c</term>
82
 
              <listitem>
83
 
                <para>
84
 
                  can have the values <literal>n</literal> (normal) or
85
 
                  <literal>l</literal> (logarithmic).
86
 
                </para>
87
 
                <variablelist>
88
 
                  <varlistentry>
89
 
                    <term>b=l</term>
90
 
                    <listitem>
91
 
                      <para>a logarithmic axis is used on the x-axis</para>
92
 
                    </listitem>
93
 
                  </varlistentry>
94
 
                  <varlistentry>
95
 
                    <term>c=l</term>
96
 
                    <listitem>
97
 
                      <para>a logarithmic axis is used on the y-axis</para>
98
 
                    </listitem>
99
 
                  </varlistentry>
100
 
                </variablelist>
101
 
              </listitem>
102
 
            </varlistentry>
103
 
          </variablelist>
104
 
        </listitem>
105
 
      </varlistentry>
106
 
      <varlistentry>
107
 
        <term>x,y,[style,strf,leg,rect,nax]</term>
108
 
        <listitem>
109
 
          <para>these arguments have the same meaning as in the
110
 
            <literal>plot2d</literal> function.
111
 
          </para>
112
 
        </listitem>
113
 
      </varlistentry>
114
 
      <varlistentry>
115
 
        <term>opt_args</term>
116
 
        <listitem>
117
 
          <para>these arguments have the same meaning as in the
118
 
            <literal>plot2d</literal> function.
119
 
          </para>
120
 
        </listitem>
121
 
      </varlistentry>
122
 
    </variablelist>
123
 
  </refsection>
124
 
  <refsection>
125
 
    <title>Description</title>
126
 
    <para>
127
 
      This function is obsolete. USE <literal>plot2d</literal> INSTEAD !!
128
 
    </para>
129
 
    <para>
130
 
      <literal>plot2d1</literal> plots a set of 2D curves. It is the same as
131
 
      <literal>plot2d</literal> but with one more argument <literal>str</literal> which
132
 
      enables logarithmic axis. Moreover, it allows to specify only one column
133
 
      vector for <literal>x</literal> when it is the same for all the curves.
134
 
    </para>
135
 
    <para>By default, successive plots are superposed. To clear the previous
136
 
      plot, use <literal>clf</literal>.
137
 
    </para>
138
 
    <para>
139
 
      Enter the command <literal>plot2d1()</literal> to see a demo.
140
 
    </para>
141
 
  </refsection>
142
 
  <refsection>
143
 
    <title>Examples</title>
144
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>plot2d1</refname>
 
16
        <refpurpose>2次元プロット (対数軸)
 
17
            (古い関数)
 
18
        </refpurpose>
 
19
    </refnamediv>
 
20
    <refsynopsisdiv>
 
21
        <title>Calling Sequence</title>
 
22
        <synopsis>plot2d1(str,x,y,[style,strf,leg,rect,nax])</synopsis>
 
23
    </refsynopsisdiv>
 
24
    <refsection>
 
25
        <title>Parameters</title>
 
26
        <variablelist>
 
27
            <varlistentry>
 
28
                <term>str</term>
 
29
                <listitem>
 
30
                    <para>
 
31
                        is a string of length three <literal>"abc"</literal>.
 
32
                    </para>
 
33
                    <variablelist>
 
34
                        <varlistentry>
 
35
                            <term>a</term>
 
36
                            <listitem>
 
37
                                <para>
 
38
                                    can have the following values: <literal>e</literal>,
 
39
                                    <literal>o</literal> or <literal>g</literal>.
 
40
                                </para>
 
41
                                <variablelist>
 
42
                                    <varlistentry>
 
43
                                        <term>e</term>
 
44
                                        <listitem>
 
45
                                            <para>means "empty". Itspecifies the fact that the value
 
46
                                                of <literal>x</literal> is not used (the <literal>x</literal> values
 
47
                                                are supposed to be regularly spaced, ie 1:&lt;number of
 
48
                                                rows of <literal>y</literal>&gt;). The user must anyway give a
 
49
                                                value for <literal>x</literal>, 1 for instance:
 
50
                                                <literal>plot2d1("enn",1,y)</literal>.
 
51
                                            </para>
 
52
                                        </listitem>
 
53
                                    </varlistentry>
 
54
                                    <varlistentry>
 
55
                                        <term>o</term>
 
56
                                        <listitem>
 
57
                                            <para>means "one". If there are many curves, they all
 
58
                                                have the same x-values: <literal>x</literal> is a column
 
59
                                                vector of size nl and <literal>y</literal> is a matrix of size
 
60
                                                (nl,nc). For example : 
 
61
                                                <literal>x=[0:0.1:2*%pi]';plot2d1("onn",x,[sin(x) cos(x)])</literal>.
 
62
                                            </para>
 
63
                                        </listitem>
 
64
                                    </varlistentry>
 
65
                                    <varlistentry>
 
66
                                        <term>g</term>
 
67
                                        <listitem>
 
68
                                            <para>
 
69
                                                means "general". <literal>x</literal> and <literal>y</literal>
 
70
                                                must have the same size (nl,nc). Each column of
 
71
                                                <literal>y</literal> is plotted with respect to the
 
72
                                                corresponding column of <literal>x</literal>. <literal>nc</literal>
 
73
                                                curves are plotted using <literal>nl</literal> points.
 
74
                                            </para>
 
75
                                        </listitem>
 
76
                                    </varlistentry>
 
77
                                </variablelist>
 
78
                            </listitem>
 
79
                        </varlistentry>
 
80
                        <varlistentry>
 
81
                            <term>b, c</term>
 
82
                            <listitem>
 
83
                                <para>
 
84
                                    can have the values <literal>n</literal> (normal) or
 
85
                                    <literal>l</literal> (logarithmic).
 
86
                                </para>
 
87
                                <variablelist>
 
88
                                    <varlistentry>
 
89
                                        <term>b=l</term>
 
90
                                        <listitem>
 
91
                                            <para>a logarithmic axis is used on the x-axis</para>
 
92
                                        </listitem>
 
93
                                    </varlistentry>
 
94
                                    <varlistentry>
 
95
                                        <term>c=l</term>
 
96
                                        <listitem>
 
97
                                            <para>a logarithmic axis is used on the y-axis</para>
 
98
                                        </listitem>
 
99
                                    </varlistentry>
 
100
                                </variablelist>
 
101
                            </listitem>
 
102
                        </varlistentry>
 
103
                    </variablelist>
 
104
                </listitem>
 
105
            </varlistentry>
 
106
            <varlistentry>
 
107
                <term>x,y,[style,strf,leg,rect,nax]</term>
 
108
                <listitem>
 
109
                    <para>these arguments have the same meaning as in the
 
110
                        <literal>plot2d</literal> function.
 
111
                    </para>
 
112
                </listitem>
 
113
            </varlistentry>
 
114
            <varlistentry>
 
115
                <term>opt_args</term>
 
116
                <listitem>
 
117
                    <para>these arguments have the same meaning as in the
 
118
                        <literal>plot2d</literal> function.
 
119
                    </para>
 
120
                </listitem>
 
121
            </varlistentry>
 
122
        </variablelist>
 
123
    </refsection>
 
124
    <refsection>
 
125
        <title>Description</title>
 
126
        <para>
 
127
            This function is obsolete. USE <literal>plot2d</literal> INSTEAD !!
 
128
        </para>
 
129
        <para>
 
130
            <literal>plot2d1</literal> plots a set of 2D curves. It is the same as
 
131
            <literal>plot2d</literal> but with one more argument <literal>str</literal> which
 
132
            enables logarithmic axis. Moreover, it allows to specify only one column
 
133
            vector for <literal>x</literal> when it is the same for all the curves.
 
134
        </para>
 
135
        <para>By default, successive plots are superposed. To clear the previous
 
136
            plot, use <literal>clf</literal>.
 
137
        </para>
 
138
        <para>
 
139
            Enter the command <literal>plot2d1()</literal> to see a demo.
 
140
        </para>
 
141
    </refsection>
 
142
    <refsection>
 
143
        <title>Examples</title>
 
144
        <programlisting role="example"><![CDATA[ 
145
145
// multiple plot without giving x
146
146
x=[0:0.1:2*%pi]';
147
147
plot2d1("enn",1,[sin(x) sin(2*x) sin(3*x)])
152
152
x=[0.1:0.1:3]'; clf()
153
153
plot2d1("oll",x,[exp(x) exp(x^2) exp(x^3)])
154
154
 ]]></programlisting>
155
 
  </refsection>
156
 
  <refsection>
157
 
    <title>See Also</title>
158
 
    <simplelist type="inline">
159
 
      <member>
160
 
        <link linkend="plot2d">plot2d</link>
161
 
      </member>
162
 
      <member>
163
 
        <link linkend="plot2d2">plot2d2</link>
164
 
      </member>
165
 
      <member>
166
 
        <link linkend="plot2d3">plot2d3</link>
167
 
      </member>
168
 
      <member>
169
 
        <link linkend="plot2d4">plot2d4</link>
170
 
      </member>
171
 
      <member>
172
 
        <link linkend="clf">clf</link>
173
 
      </member>
174
 
    </simplelist>
175
 
  </refsection>
 
155
    </refsection>
 
156
    <refsection>
 
157
        <title>See Also</title>
 
158
        <simplelist type="inline">
 
159
            <member>
 
160
                <link linkend="plot2d">plot2d</link>
 
161
            </member>
 
162
            <member>
 
163
                <link linkend="plot2d2">plot2d2</link>
 
164
            </member>
 
165
            <member>
 
166
                <link linkend="plot2d3">plot2d3</link>
 
167
            </member>
 
168
            <member>
 
169
                <link linkend="plot2d4">plot2d4</link>
 
170
            </member>
 
171
            <member>
 
172
                <link linkend="clf">clf</link>
 
173
            </member>
 
174
        </simplelist>
 
175
    </refsection>
176
176
</refentry>