File: plot2d1.xml

package info (click to toggle)
scilab 5.2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 334,832 kB
  • ctags: 52,586
  • sloc: xml: 526,945; ansic: 223,590; fortran: 163,080; java: 56,934; cpp: 33,840; tcl: 27,936; sh: 20,397; makefile: 9,908; ml: 9,451; perl: 1,323; cs: 614; lisp: 30
file content (204 lines) | stat: -rw-r--r-- 6,666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) ENPC - Jean-Philippe Chancelier
 * 
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at    
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 *
 -->
<refentry version="5.0-subset Scilab" xml:id="plot2d1" xml:lang="en"
          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">
  <info>
    <pubdate>$LastChangedDate$</pubdate>
  </info>

  <refnamediv>
    <refname>plot2d1</refname>

    <refpurpose>Esboo 2d em escala logartmica (obsoleto)</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <title>Seqncia de Chamamento</title>

    <synopsis>plot2d1(str,x,y,[style,strf,leg,rect,nax])</synopsis>
  </refsynopsisdiv>

  <refsection>
    <title>Parmetros</title>

    <variablelist>
      <varlistentry>
        <term>str</term>

        <listitem>
          <para>string de comprimento 3 <literal>"abc"</literal>.</para>

          <variablelist>
            <varlistentry>
              <term>a</term>

              <listitem>
                <para>pode ter um dos seguintes valores: <literal>e</literal>,
                <literal>o</literal> ou <literal>g</literal>.</para>

                <variablelist>
                  <varlistentry>
                    <term>e</term>

                    <listitem>
                      <para>significa "vazio". Especifica que o valor de
                      <literal>x</literal> no  utilizado (os valores de
                      <literal>x</literal> so supostos regularmente
                      espaados, ie 1:&lt;nmero de linhas de
                      <literal>y</literal>&gt;). De qualquer forma, o usurio
                      deve fornecer o valor de <literal>x</literal>, 1 por
                      exemplo: <literal>plot2d1("enn",1,y)</literal>.</para>
                    </listitem>
                  </varlistentry>

                  <varlistentry>
                    <term>o</term>

                    <listitem>
                      <para>significa "um". Se h vrias curvas, todas possuem
                      o mesmo valor x: <literal>x</literal>  um vetor coluna
                      de tamanho n1 e <literal>y</literal>  uma matriz de
                      tamanho(nl,nc). Por exemplo:
                      <literal>x=[0:0.1:2*%pi]';plot2d1("onn",x,[sin(x)
                      cos(x)])</literal>.</para>
                    </listitem>
                  </varlistentry>

                  <varlistentry>
                    <term>g</term>

                    <listitem>
                      <para>significa"geral". <literal>x</literal> e
                      <literal>y</literal> devem ter o mesmo tamanho (nl,nc).
                      Cada coluna de <literal>y</literal>  esboada em
                      relao  coluna correspondente de <literal>x</literal>.
                      <literal>nc</literal> curvas so esboadas utilizando-se
                      <literal>nl</literal> pontos.</para>
                    </listitem>
                  </varlistentry>
                </variablelist>
              </listitem>
            </varlistentry>

            <varlistentry>
              <term>b, c</term>

              <listitem>
                <para>pode possuir valores <literal>n</literal> (normal) ou
                <literal>l</literal> (logartmico).</para>

                <variablelist>
                  <varlistentry>
                    <term>b=l</term>

                    <listitem>
                      <para>um eixo logartmico  utilizado em x </para>
                    </listitem>
                  </varlistentry>

                  <varlistentry>
                    <term>c=l</term>

                    <listitem>
                      <para>um eixo logartmico  utilizado em y</para>
                    </listitem>
                  </varlistentry>
                </variablelist>
              </listitem>
            </varlistentry>
          </variablelist>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>x,y,[style,strf,leg,rect,nax]</term>

        <listitem>
          <para>estes argumentos possuem o mesmo significado que na funo
          <literal>plot2d</literal>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>opt_args</term>

        <listitem>
          <para>estes argumentos possuem o mesmo significado que na funo
          <literal>plot2d</literal>.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsection>

  <refsection>
    <title>Descrio</title>

    <para>Esta funo est obsoleta. Utilize <literal>plot2d</literal> ao
    invs.</para>

    <para><literal>plot2d1</literal> esboa um conjunto de curvas 2d.  o
    mesmo que <literal>plot2d</literal> mas com mais um argumento
    <literal>str</literal> que habilita escala logartmica. Ainda, permite
    especificar apenas um vetor coluna para <literal>x</literal> quando  o
    mesmo para todas as curvas.</para>

    <para>Por padro, esboos sucessivos so superpostos. Para limpar o esboo
    anterior, use <literal>clf</literal>.</para>

    <para>Entre com o comando <literal>plot2d1()</literal> para visualizar uma
    demonstrao.</para>
  </refsection>

  <refsection>
    <title>Exemplos</title>

    <programlisting role="example"><![CDATA[ 
// esboos mltiplos sem fornecer x
x=[0:0.1:2*%pi]';
plot2d1("enn",1,[sin(x) sin(2*x) sin(3*x)])
// esboos mltiplos fornecendo apenas x
clf()
plot2d1("onn",x,[sin(x) sin(2*x) sin(3*x)])
// esboo logartmico
x=[0.1:0.1:3]'; clf()
plot2d1("oll",x,[exp(x) exp(x^2) exp(x^3)])
 ]]></programlisting>
  </refsection>

  <refsection>
    <title>Ver Tambm</title>

    <simplelist type="inline">
      <member><link linkend="plot2d">plot2d</link></member>

      <member><link linkend="plot2d2">plot2d2</link></member>

      <member><link linkend="plot2d3">plot2d3</link></member>

      <member><link linkend="plot2d4">plot2d4</link></member>

      <member><link linkend="clf">clf</link></member>
    </simplelist>
  </refsection>

  <refsection>
    <title>Autor</title>

    <para>J.Ph.C.</para>
  </refsection>
</refentry>