File: xarrows.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 (74 lines) | stat: -rw-r--r-- 2,862 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
<?xml version="1.0" encoding="UTF-8"?>
<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="fr" xml:id="xarrows">
  <info>
    <pubdate>$LastChangedDate$</pubdate>
  </info>
  <refnamediv>
    <refname>xarrows</refname>
    <refpurpose> dessine un ensemble de flèches  </refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <title>Séquence d'appel</title>
    <synopsis>xarrows(nx,ny,[arsize,style])</synopsis>
  </refsynopsisdiv>
  <refsection>
    <title>Paramètres</title>
    <variablelist>
      <varlistentry>
        <term>nx,ny  </term>
        <listitem>
          <para>valeurs réelles ou matrices de même taille.
</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>arsize  </term>
        <listitem>
          <para>réel, taille des têtes des flèches. La valeur par défaut peut être obtenue  en prenant arsize = -1.
</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>style  </term>
        <listitem>
          <para>matrice ou scalaire. Si <literal>style</literal> est positif il donne la couleur de ligne pour toutes les flèches. S'il est négatif  la couleur courante est utilisé. S'il est un vecteur, <literal>style(i)</literal> donne la couleur pour la flèche <literal>i</literal>.
</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsection>
  <refsection>
    <title>Description</title>
    <para><literal>xarrows</literal> dessine un ensemble de flèches données par <literal>nx</literal> et <literal>ny</literal>.
    Si <literal>nx</literal> et <literal>ny</literal> sont des vecteurs,
    la flèche numéro i est définie par
    <literal>(nx(i),ny(i))--&gt;(nx(i+1),ny(i+1))</literal>.
    Si <literal>nx</literal> et <literal>ny</literal> sont des matrices :
  </para>
    <programlisting role = ""><![CDATA[ 
nx=[xi_1 x1_2 ...; xf_1 xf_2 ...]
ny=[yi_1 y1_2 ...; yf_1 yf_2 ...]
 ]]></programlisting>
    <para>
    la flèche numéro <literal>k</literal> est définie par <literal>(xi_k,yi_k)--&gt;(xf_k,yf_k)</literal>.
  </para>
    <para><literal>xarrows</literal> utilise l'échelle graphique courante, qui peut être définie par appel préalable d'une fonction graphique de haut niveau comme <literal>plot2d</literal>.
  </para>
  </refsection>
  <refsection>
    <title>Exemples</title>
    <programlisting role="example"><![CDATA[ 
x=2*%pi*(0:9)/8;
x1=[sin(x);9*sin(x)];
y1=[cos(x);9*cos(x)];
plot2d([-10,10],[-10,10],[-1,-1],"022")
xset("clipgrf")
xarrows(x1,y1,1,1:10)
xset("clipoff")
 ]]></programlisting>
  </refsection>
  <refsection>
    <title>Auteurs</title>
    <para>J.Ph.C.  </para>
  </refsection>
</refentry>