~ubuntu-branches/ubuntu/lucid/scilab/lucid

« back to all changes in this revision

Viewing changes to modules/graphics/help/pt_BR/xpoly.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-04-28 18:47:03 UTC
  • mfrom: (1.1.7 upstream) (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090428184703-7thddz8vtwqmxmx2
Tags: 5.1.1-4
* librefblas3-dev does not exist (yet). Thanks to Jose Ramon
* Do not stop when ocamlopt is not available on the arch 
  (ocaml-not-available.diff)
* Provide a clear error message for archs where modelicac compiler is 
  not available (modelicac-not-available.diff)
* scilab startup script moved from package scilab => scilab-bin (because of
  the ocamlopt problem, I cannot predict if modelicac will be available or
  not. Therefor, I ship usr/bin/ instead of binary per binary. This will
  also simplifies the packaging of Scilab 5.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<!--
 
3
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
4
 * Copyright (C) ENPC - Jean-Philippe Chancelier
 
5
 * 
 
6
 * This file must be used under the terms of the CeCILL.
 
7
 * This source file is licensed as described in the file COPYING, which
 
8
 * you should have received as part of this distribution.  The terms
 
9
 * are also available at    
 
10
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
11
 *
 
12
 -->
 
13
<refentry version="5.0-subset Scilab" xml:id="xpoly" xml:lang="en"
 
14
          xmlns="http://docbook.org/ns/docbook"
 
15
          xmlns:xlink="http://www.w3.org/1999/xlink"
 
16
          xmlns:svg="http://www.w3.org/2000/svg"
 
17
          xmlns:ns3="http://www.w3.org/1999/xhtml"
 
18
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
 
19
          xmlns:db="http://docbook.org/ns/docbook">
 
20
  <info>
 
21
    <pubdate>$LastChangedDate$</pubdate>
 
22
  </info>
 
23
 
 
24
  <refnamediv>
 
25
    <refname>xpoly</refname>
 
26
 
 
27
    <refpurpose>desenha uma poligonal ou um pol�gono</refpurpose>
 
28
  </refnamediv>
 
29
 
 
30
  <refsynopsisdiv>
 
31
    <title>Seq��ncia de Chamamento</title>
 
32
 
 
33
    <synopsis>xpoly(xv,yv [,dtype [,close]])</synopsis>
 
34
  </refsynopsisdiv>
 
35
 
 
36
  <refsection>
 
37
    <title>Par�metros</title>
 
38
 
 
39
    <variablelist>
 
40
      <varlistentry>
 
41
        <term>xv,yv</term>
 
42
 
 
43
        <listitem>
 
44
          <para>matrizes de mesmo tamanho (os pontos da poligonal). </para>
 
45
        </listitem>
 
46
      </varlistentry>
 
47
 
 
48
      <varlistentry>
 
49
        <term>dtype</term>
 
50
 
 
51
        <listitem>
 
52
          <para>string (estilo de desenho). O valor padr�o � "lines". </para>
 
53
        </listitem>
 
54
      </varlistentry>
 
55
 
 
56
      <varlistentry>
 
57
        <term>close</term>
 
58
 
 
59
        <listitem>
 
60
          <para>inteiro. Se close= 1,a poligonal � fechada; o valor padr�o �
 
61
          0.</para>
 
62
        </listitem>
 
63
      </varlistentry>
 
64
    </variablelist>
 
65
  </refsection>
 
66
 
 
67
  <refsection>
 
68
    <title>Descri��o</title>
 
69
 
 
70
    <para><literal>xpoly</literal> desenha uma poligonal descrita pelos
 
71
    vetores de coordenadas <literal>xv</literal> e <literal>yv</literal>. Se
 
72
    <literal>xv</literal> e <literal>yv</literal> forem matrizes, ser�o
 
73
    considerados vetores obtidos por concatena��o de suas colunas.
 
74
    <literal>dtype</literal> pode ser <literal>"lines"</literal> para uso do
 
75
    estilo de linha corrente ou <literal>"marks"</literal> para utilizar a
 
76
    marca corrente para desenho da poligonal.</para>
 
77
  </refsection>
 
78
 
 
79
  <refsection>
 
80
    <title>Exemplos</title>
 
81
 
 
82
    <programlisting role="example">
 
83
 
 
84
x=sin(2*%pi*(0:4)/5);
 
85
y=cos(2*%pi*(0:4)/5);
 
86
 
 
87
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
 
88
xset("color",5)
 
89
xpoly(x,y,"lines",1) // por padr�o � fechado
 
90
 
 
91
// apenas no novo estilo de gr�ficos
 
92
e=gce(); // retorna a entidade corrente (a �ltima criada: aqui, � a poligonal)
 
93
e.closed = 'off' // a poligonal est� agora aberta
 
94
  </programlisting>
 
95
  </refsection>
 
96
 
 
97
  <refsection>
 
98
    <title>Ver Tamb�m</title>
 
99
 
 
100
    <simplelist type="inline">
 
101
      <member><link linkend="xfpoly">xfpoly</link></member>
 
102
 
 
103
      <member><link linkend="xfpolys">xfpolys</link></member>
 
104
 
 
105
      <member><link linkend="xpolys">xpolys</link></member>
 
106
    </simplelist>
 
107
  </refsection>
 
108
 
 
109
  <refsection>
 
110
    <title>Autor</title>
 
111
 
 
112
    <para>J.Ph.C.</para>
 
113
  </refsection>
 
114
</refentry>