File: mesh.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 (169 lines) | stat: -rw-r--r-- 5,635 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) INRIA - Farid Belahcene
 * 
 * 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="mesh" 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:ns4="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>mesh</refname>

    <refpurpose>Esboo 3d de uma malha</refpurpose>
  </refnamediv>

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

    <synopsis>mesh(Z)
mesh(X,Y,Z)
mesh(...,&lt;GlobalProperty&gt;)
mesh(...,&lt;color&gt;,&lt;GlobalProperty&gt;)
mesh(&lt;axes_handle&gt;,...)</synopsis>
  </refsynopsisdiv>

  <refsection>
    <title>Parmetros</title>

    <variablelist>
      <varlistentry>
        <term>Z</term>

        <listitem>
          <para>matriz de reais definindo a altura da superfcie. No pode ser
          omitida. O dado Z  uma matriz<literal>
          m</literal>x<literal>n</literal>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>X,Y</term>

        <listitem>
          <para>duas matrizes de reais: sempre ajustadas juntas, esses dados
          definem um novo grid padro. Estes novos componentes
          <literal>X</literal> e <literal>Y</literal> do grid devem coincidir
          com as dimenses de <literal>Z</literal> (ver descrio abaixo).
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>color</term>

        <listitem>
          <para>uma matriz de reais opcional definindo a cor para cada ponto
          <literal>(X(j),Y(i))</literal> do grid (ver descrio abaixo).
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>&lt;GlobalProperty&gt;</term>

        <listitem>
          <para>este argumento opcional representa uma seqncia de pares de
          declaraes <literal>{PropertyName,PropertyValue}</literal> que
          definem propriedades globais dos objetos aplicadas a todas as curvas
          criadas neste esboo. Para uma completa visualizao das
          propriedades disponveis veja <link
          linkend="GlobalProperty">GlobalProperty</link>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>&lt;axes_handle&gt;</term>

        <listitem>
          <para>este argumento opcional fora o esboo a aparecer dentro dos
          eixos selecionados por <literal>axes_handle</literal> ao invs dos
          eixos correntes (ver <link linkend="gca">gca</link>).</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsection>

  <refsection>
    <title>Descrio</title>

    <para><literal>mesh</literal> desenha uma superfcie parametrizada
    utilizando um grid retangular definido pelas coordenadas
    <literal>X</literal> e <literal>Y</literal> (se <literal>{X,Y}</literal>
    no so especificados, este grid  determinado utilizando-se as dimenses
    da matriz <literal>Z</literal> ) ; em cada ponto deste grid, uma
    coordenada Z  dada utilizando-se a matriz <literal>Z</literal>.
    <literal>mesh</literal>  baseado no comando <literal>surf</literal> com a
    opo padro <literal>color_mode</literal> = ndice de branco (dentro do
    mapa de cores corrente) e <literal>color_flag</literal> = 0.</para>

    <para>Especificao de dados de entrada:</para>

    <para>Neste pargrafo, para sermos mais claros, no mencionaremos os
    argumentos opcionais <literal>GlobalProperty</literal> j que eles no
    interferem na entrada de dados (exceto pelas propriedades
    <literal>"Xdata"</literal>, <literal>"Ydata"</literal> e
    <literal>"Zdata"</literal>, ver <link
    linkend="GlobalProperty">GlobalProperty</link>). Assume-se que todos estes
    argumentos opcionais poderiam estar presentes tambm.</para>

    <para>Se <literal>Z</literal>  a nica matriz especificada, (Z) esboa a
    matriz <literal>Z</literal> versus o grid definido por
    <literal>1:size(Z,2)</literal> ao longo do eixo x e
    <literal>1:size(Z,1)</literal> ao longo do eixo y.</para>
  </refsection>

  <refsection>
    <title>Observao </title>

    <para>Para habilitar-se o modo de transparncia, voc deve ajustar a opo
    <literal>color_mode</literal> para 0.</para>
  </refsection>

  <refsection>
    <title>Exemplo</title>

    <programlisting role="example"><![CDATA[ 
[X,Y]=meshgrid(-1:.1:1,-1:.1:1);
Z=X.^2-Y.^2;
xtitle('z=x2-y ^2');
mesh(X,Y,Z);
 ]]></programlisting>
  </refsection>

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

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

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

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

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

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

  <refsection>
    <title>Autor</title>

    <para>F.Belahcene</para>
  </refsection>
</refentry>